aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authormathias <mathias>2005-04-09 07:46:27 (GMT)
committermathias <mathias>2005-04-09 07:46:27 (GMT)
commit90cc378f2a0e6e6c493db32234ecab17e7773378 (patch)
tree3c442264f576797c3569e8f8db0e3f28d2b0cf55 /util
parenteb9161016b508bac85a89cfb50c9cb61f6106f2a (diff)
downloadfluxbox_paul-90cc378f2a0e6e6c493db32234ecab17e7773378.zip
fluxbox_paul-90cc378f2a0e6e6c493db32234ecab17e7773378.tar.bz2
fixed issues introduced from last change (it was me :)
Diffstat (limited to 'util')
-rwxr-xr-xutil/startfluxbox.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index 9099640..a6e5838 100755
--- a/util/startfluxbox.in
+++ b/util/startfluxbox.in
@@ -2,7 +2,7 @@
2# $Id$ 2# $Id$
3 3
4command="`basename \"$0\"`" 4command="`basename \"$0\"`"
5startup="~/.fluxbox/startup" 5startup=~/.fluxbox/startup
6 6
7while [ $# -gt 0 ]; do 7while [ $# -gt 0 ]; do
8 case "$1" in 8 case "$1" in
@@ -32,7 +32,7 @@ else
32 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps} 32 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
33 fi 33 fi
34 if [ ! -r "$startup" ]; then 34 if [ ! -r "$startup" ]; then
35 cat << EOF > "$startup" 35 ( cat << EOF
36# fluxbox startup-script: 36# fluxbox startup-script:
37# 37#
38# Lines starting with a '#' are ignored. 38# Lines starting with a '#' are ignored.
@@ -83,6 +83,7 @@ exec @pkgbindir@/fluxbox
83# or if you want to keep a log: 83# or if you want to keep a log:
84# exec @pkgbindir@/fluxbox -log ~/.fluxbox/log 84# exec @pkgbindir@/fluxbox -log ~/.fluxbox/log
85EOF 85EOF
86 ) > "$startup"
86 fi 87 fi
87 chmod 755 "$startup" 88 chmod 755 "$startup"
88 exec "$startup" 89 exec "$startup"