Fix path in init check

This commit is contained in:
niklasbuehler 2019-04-26 19:04:58 +02:00
parent 07405fdd2d
commit 419c97667a
1 changed files with 1 additions and 1 deletions

2
lb
View File

@ -8,7 +8,7 @@ indexfile="blogindex.html"
rssfile="rss.xml"
[ -z "$EDITOR" ] && EDITOR="vim"
[ ! -d blog/.drafts ] &&
[ ! -d "$webdir/blog/.drafts" ] &&
read -erp "Initialize blog in $webdir?" ask &&
if [ "$ask" = "y" ]; then
printf "Initializing blog system...\\n"