summaryrefslogtreecommitdiff
path: root/backend/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/update.py')
-rwxr-xr-xbackend/update.py3
1 files changed, 2 insertions, 1 deletions
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."