From 71055f9a5cea09ae989f18887971c3c0e6956cd0 Mon Sep 17 00:00:00 2001 From: sparky Date: Sun, 30 Oct 2005 12:19:54 +0000 Subject: [PATCH] - fix test -n Changed files: entrance.gen-conf -> 1.4 --- entrance.gen-conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0