mirror of https://git.envs.net/envs/burrow.git
small fix for generating burrow roots if never made before
This commit is contained in:
parent
e3f15046b2
commit
d37369df53
5
burrow
5
burrow
|
@ -633,6 +633,11 @@ main () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $arg_root -gt 0 ]; then
|
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 "" \
|
make_post "" \
|
||||||
"" \
|
"" \
|
||||||
true \
|
true \
|
||||||
|
|
Loading…
Reference in New Issue