diff options
author | Karl Semich <0xloem@gmail.com> | 2016-06-01 19:50:40 -0400 |
---|---|---|
committer | Karl Semich <0xloem@gmail.com> | 2016-06-01 19:50:40 -0400 |
commit | e0dd49cd33e4ec2af9d7a601fd401b966a03b199 (patch) | |
tree | 9e0f2714ada632fa2679703e044e5d6f644f5883 /backend/update.py | |
parent | 2a442bf4344c63a2f1fda82445aa8b0dc6732512 (diff) | |
download | standingwithresilience-e0dd49cd33e4ec2af9d7a601fd401b966a03b199.tar.gz standingwithresilience-e0dd49cd33e4ec2af9d7a601fd401b966a03b199.zip |
minor updates
Diffstat (limited to 'backend/update.py')
-rwxr-xr-x | backend/update.py | 3 |
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." |