aboutsummaryrefslogtreecommitdiff
path: root/util/startfluxbox.in
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-09-29 11:59:35 (GMT)
committerfluxgen <fluxgen>2003-09-29 11:59:35 (GMT)
commit9c3cd9002d89830cc586b1a0d7d977187fa67522 (patch)
treea1258c4f8915eb4b03c978cf8813ca9b8a44779b /util/startfluxbox.in
parent039c14a1c0f610e14de4fa7b82f429418f6c32d4 (diff)
downloadfluxbox_pavel-9c3cd9002d89830cc586b1a0d7d977187fa67522.zip
fluxbox_pavel-9c3cd9002d89830cc586b1a0d7d977187fa67522.tar.bz2
update from Han
Diffstat (limited to 'util/startfluxbox.in')
-rwxr-xr-xutil/startfluxbox.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index f3ba2f9..8e9daeb 100755
--- a/util/startfluxbox.in
+++ b/util/startfluxbox.in
@@ -1,11 +1,14 @@
1#!/bin/sh 1#!/bin/sh
2if [ -e ~/.fluxbox/startup ];then 2# $Id: startfluxbox.in,v 1.2 2003/09/29 11:59:35 fluxgen Exp $
3if [ -x ~/.fluxbox/startup ];then
4 exec ~/.fluxbox/startup
5elif [ -r ~/.fluxbox/startup ]; then
3 exec sh ~/.fluxbox/startup 6 exec sh ~/.fluxbox/startup
4else 7else
5 if [ ! -d ~/.fluxbox ];then 8 if [ ! -d ~/.fluxbox ];then
6 mkdir -p ~/.fluxbox/{backgrounds,styles} 9 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
7 fi 10 fi
8 cp @pkgdatadir@/startup ~/.fluxbox 11 cp @pkgdatadir@/startup ~/.fluxbox
9 @pkgbindir@/bsetroot -solid Black 12 chmod 755 ~/.fluxbox/startup
10 exec @pkgbindir@/fluxbox 13 exec ~/.fluxbox/startup
11fi 14fi