#!/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 /usr/share/fluxbox/startup ~/.fluxbox
    chmod 755 ~/.fluxbox/startup
    exec ~/.fluxbox/startup
fi
