From 0cb619abe62111f4ba68d739491f47db2325fe0c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 3 Jun 2010 07:25:14 +0000 Subject: [PATCH] fix test for display --- pkg-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg-deps.sh b/pkg-deps.sh index e581bf4..9309b2c 100755 --- a/pkg-deps.sh +++ b/pkg-deps.sh @@ -29,6 +29,6 @@ for i in $GHC_PKGS; do sed -i -e /$i/d pkgs.dot; done cat pkgs.dot | tred | dot -Nfontsize=8 -Tsvg >pkgs.svg -if [ -n "$DISPLAY"]; then +if [ -n "$DISPLAY" ]; then xdg-open pkgs.svg fi