From e0dd49cd33e4ec2af9d7a601fd401b966a03b199 Mon Sep 17 00:00:00 2001 From: Karl Semich <0xloem@gmail.com> Date: Wed, 1 Jun 2016 19:50:40 -0400 Subject: minor updates --- backend/update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend/update.py') diff --git a/backend/update.py b/backend/update.py index 41abc0c..0af3898 100755 --- a/backend/update.py +++ b/backend/update.py @@ -11,6 +11,7 @@ if not found_git: found_ikiwiki = (os.system("ikiwiki --version") == 0) found_gitocalypse = (os.system("git-remote-freenet") == 256) found_freesitemgr = (os.system("freesitemgr --version") == 0) +found_zeronetdir = 'ZERONETDIR' in os.environ if not found_ikiwiki: print("WARNING: ikiwiki not found, pages will not be built") @@ -75,7 +76,7 @@ if status != 0: if found_freesitemgr: print (":: Publishing freesite ...") - status += os.system("freesitemgr -c freesitemgr -v -l freesitemgr.log -r 0 update") + status += os.system("freesitemgr -c freesitemgr -v -l freesitemgr.log -r 1 update") print "Done." -- cgit v1.2.3