create .fluxbox directory and lastwallpaper file if they dont exist
This commit is contained in:
parent
bf7902dae8
commit
7768406cbd
1 changed files with 5 additions and 0 deletions
|
@ -199,6 +199,11 @@ if [ $# -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# create directory and last wallpaper file
|
||||||
|
if [ ! -d ~/.fluxbox ]; then
|
||||||
|
mkdir ~/.fluxbox
|
||||||
|
touch ${lastwallpaper}
|
||||||
|
fi
|
||||||
|
|
||||||
unset debug setterfromcommandline
|
unset debug setterfromcommandline
|
||||||
# Parse command-line options
|
# Parse command-line options
|
||||||
|
|
Loading…
Reference in a new issue