]> git.pld-linux.org Git - packages/entrance.git/commitdiff
- fix test -n
authorsparky <sparky@pld-linux.org>
Sun, 30 Oct 2005 12:19:54 +0000 (12:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    entrance.gen-conf -> 1.4

entrance.gen-conf

index 57c61982e779c633836e8dd0e07eb8d9e99c2767..c3f80c0de725d0fc8a2b3dacaf425ea153cae355 100644 (file)
@@ -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')"
        
        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
 
        ICON="$(basename $DESKTOP .desktop).png"
        [ -r $ICONDIR/$ICON ] || ICON=default.png
This page took 0.070191 seconds and 4 git commands to generate.