fix test for display
This commit is contained in:
parent
c3e8b642b9
commit
0cb619abe6
@ -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
|
cat pkgs.dot | tred | dot -Nfontsize=8 -Tsvg >pkgs.svg
|
||||||
|
|
||||||
if [ -n "$DISPLAY"]; then
|
if [ -n "$DISPLAY" ]; then
|
||||||
xdg-open pkgs.svg
|
xdg-open pkgs.svg
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user