fixed issues introduced from last change (it was me :)

This commit is contained in:
mathias 2005-04-09 07:46:27 +00:00
parent eb9161016b
commit 90cc378f2a

View file

@ -2,7 +2,7 @@
# $Id$ # $Id$
command="`basename \"$0\"`" command="`basename \"$0\"`"
startup="~/.fluxbox/startup" startup=~/.fluxbox/startup
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
case "$1" in case "$1" in
@ -32,7 +32,7 @@ else
mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps} mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
fi fi
if [ ! -r "$startup" ]; then if [ ! -r "$startup" ]; then
cat << EOF > "$startup" ( cat << EOF
# fluxbox startup-script: # fluxbox startup-script:
# #
# Lines starting with a '#' are ignored. # Lines starting with a '#' are ignored.
@ -83,6 +83,7 @@ exec @pkgbindir@/fluxbox
# or if you want to keep a log: # or if you want to keep a log:
# exec @pkgbindir@/fluxbox -log ~/.fluxbox/log # exec @pkgbindir@/fluxbox -log ~/.fluxbox/log
EOF EOF
) > "$startup"
fi fi
chmod 755 "$startup" chmod 755 "$startup"
exec "$startup" exec "$startup"