small fix for generating burrow roots if never made before

This commit is contained in:
James Tomasino 2018-07-15 20:30:51 -04:00
parent e3f15046b2
commit d37369df53
1 changed files with 5 additions and 0 deletions

5
burrow
View File

@ -633,6 +633,11 @@ main () {
fi
if [ $arg_root -gt 0 ]; then
# If we don't have a gophermap, create one to avoid
# accidentally sorting the file on first-time generation
if [ ! -f "${config_dir_gopher}/gophermap" ]; then
touch "${config_dir_gopher}/gophermap"
fi
make_post "" \
"" \
true \