From: sparky Date: Sun, 30 Oct 2005 12:19:54 +0000 (+0000) Subject: - fix test -n X-Git-Tag: auto/th/entrance-0_9_0_007-1~16 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fentrance.git;a=commitdiff_plain;h=71055f9a5cea09ae989f18887971c3c0e6956cd0 - fix test -n Changed files: entrance.gen-conf -> 1.4 --- diff --git a/entrance.gen-conf b/entrance.gen-conf index 57c6198..c3f80c0 100644 --- a/entrance.gen-conf +++ b/entrance.gen-conf @@ -41,7 +41,7 @@ for DESKTOP in /tmp/default.desktop /usr/share/xsessions/*.desktop \ NAME="$(grep -E "^Name=" $DESKTOP | sed 's/^Name=//' | \ sed 's_/_\\/_g')" - [ -n $NAME ] || NAME="$EXEC" + [ -n "$NAME" ] || NAME="$EXEC" ICON="$(basename $DESKTOP .desktop).png" [ -r $ICONDIR/$ICON ] || ICON=default.png