diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/resilient/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/resilient/__init__.py b/backend/resilient/__init__.py index 1a145ba..fc8c949 100644 --- a/backend/resilient/__init__.py +++ b/backend/resilient/__init__.py @@ -103,11 +103,9 @@ class ikiwiki: return True shutil.rmtree(html_path) - os.mkdir(html_path) + os.system("git checkout -- '%s'" % html_path) status = os.system("ikiwiki --setup '%s' '%s' '%s'" % (ikiwiki_setup_path, wiki_src_path, html_path)) - # workaround for ikistrap overwriting custom css files, which are included for freenet's filter - os.system("git checkout -- '%s'/css" % html_path) ikiwiki.synced = (status == 0) if ikiwiki.synced: |