aboutsummaryrefslogtreecommitdiff
path: root/util/startfluxbox.in
blob: 8e9daeb5028cd2994e7e308cf129117ef7d2933e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# $Id: startfluxbox.in,v 1.2 2003/09/29 11:59:35 fluxgen Exp $
if [ -x ~/.fluxbox/startup ];then
    exec ~/.fluxbox/startup
elif [ -r ~/.fluxbox/startup ]; then
    exec sh ~/.fluxbox/startup
else
    if [ ! -d ~/.fluxbox ];then
	mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
    fi
    cp @pkgdatadir@/startup ~/.fluxbox
    chmod 755 ~/.fluxbox/startup
    exec ~/.fluxbox/startup
fi