ctucx.git: nixfiles

ctucx' nixfiles

commit 3bf178c8707d5db7c7df036a7b5905ac26ce2907
parent 865b41f8efc633e3aefba5f212ecd6111bb1f285
Author: Leah (ctucx) <git@ctu.cx>
Date: Sun, 4 Jun 2023 17:48:00 +0200

machines/trabbi/git: actually remove stagit-cache
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/machines/trabbi/git.nix b/machines/trabbi/git.nix
@@ -79,7 +79,7 @@ let
       is_public_and_listed "$repo" || return 0
 
       # if forced update, remove directory and cache file
-      is_forced_update && printf "[%s] Forced update, trigger complete regeneration of stagit-pages... \n" "$reponame" && rm -rf "/var/lib/stagit/$reponame"
+      is_forced_update && printf "[%s] Forced update, trigger complete regeneration of stagit-pages... \n" "$reponame" && rm -rf "/var/lib/stagit/$reponame" "/var/lib/gitolite/stagit-cache/$reponame"
 
       build_stagit_repo "$repo"
       build_stagit_index