diff options
author | mathias <mathias> | 2005-04-09 07:46:27 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-04-09 07:46:27 (GMT) |
commit | 90cc378f2a0e6e6c493db32234ecab17e7773378 (patch) | |
tree | 3c442264f576797c3569e8f8db0e3f28d2b0cf55 /util | |
parent | eb9161016b508bac85a89cfb50c9cb61f6106f2a (diff) | |
download | fluxbox_lack-90cc378f2a0e6e6c493db32234ecab17e7773378.zip fluxbox_lack-90cc378f2a0e6e6c493db32234ecab17e7773378.tar.bz2 |
fixed issues introduced from last change (it was me :)
Diffstat (limited to 'util')
-rwxr-xr-x | util/startfluxbox.in | 5 |
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 | ||
4 | command="`basename \"$0\"`" | 4 | command="`basename \"$0\"`" |
5 | startup="~/.fluxbox/startup" | 5 | startup=~/.fluxbox/startup |
6 | 6 | ||
7 | while [ $# -gt 0 ]; do | 7 | while [ $# -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 |
85 | EOF | 85 | EOF |
86 | ) > "$startup" | ||
86 | fi | 87 | fi |
87 | chmod 755 "$startup" | 88 | chmod 755 "$startup" |
88 | exec "$startup" | 89 | exec "$startup" |