diff options
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" |