summaryrefslogtreecommitdiff
path: root/backend/update.py
diff options
context:
space:
mode:
authorKarl Semich <0xloem@gmail.com>2016-06-01 19:50:40 -0400
committerKarl Semich <0xloem@gmail.com>2016-06-01 19:50:40 -0400
commite0dd49cd33e4ec2af9d7a601fd401b966a03b199 (patch)
tree9e0f2714ada632fa2679703e044e5d6f644f5883 /backend/update.py
parent2a442bf4344c63a2f1fda82445aa8b0dc6732512 (diff)
downloadstandingwithresilience-e0dd49cd33e4ec2af9d7a601fd401b966a03b199.tar.gz
standingwithresilience-e0dd49cd33e4ec2af9d7a601fd401b966a03b199.zip
minor updates
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."