summaryrefslogtreecommitdiff
path: root/backend/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/update.py')
-rwxr-xr-xbackend/update.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/backend/update.py b/backend/update.py
index 0c10e66..41abc0c 100755
--- a/backend/update.py
+++ b/backend/update.py
@@ -53,23 +53,24 @@ if found_gitocalypse:
print (":: Pushing to freenet repos ...")
# public freenet
os.system("git push freenet://USK@AKL0griFs7T25yw6-JR3Wk7vocvNBelOLg3RwtIL6aTp,jjuBPGO~oCByVoZ5f4Bny0Gp-l3kuDOtf3m-QBT4ekA,AQECAAE/Standing%20With%20Resilience%20Public.git.R1/0")
- #private freenet
- #####
# Build wiki
if status != 0:
+ print (":: Exiting due to failure")
exit(status)
if not found_ikiwiki:
+ print (":: Not building wiki; missing ikiwiki")
exit(0)
print (":: Building wiki ...")
-status += os.system("ikiwiki --rebuild ../wiki ../html")
+status += os.system("ikiwiki --wikiname 'A Wiki for Targeted Individuals' --rebuild ../wiki ../html")
if status != 0:
+ print (":: Exiting due to failure")
exit(status)
if found_freesitemgr:
@@ -77,3 +78,5 @@ if found_freesitemgr:
status += os.system("freesitemgr -c freesitemgr -v -l freesitemgr.log -r 0 update")
print "Done."
+
+exit(status)