create .fluxbox directory and lastwallpaper file if they dont exist

This commit is contained in:
fluxgen 2005-11-13 21:30:45 +00:00
parent bf7902dae8
commit 7768406cbd

View file

@ -199,6 +199,11 @@ if [ $# -eq 0 ]; then
exit 1
fi
# create directory and last wallpaper file
if [ ! -d ~/.fluxbox ]; then
mkdir ~/.fluxbox
touch ${lastwallpaper}
fi
unset debug setterfromcommandline
# Parse command-line options