commit 17549642c49df8bdfd9805728e54c6d891bb9b71
parent 0431913ec766460c770d6e78749aacd09e443813
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 16 Jun 2022 21:19:17 +0200
parent 0431913ec766460c770d6e78749aacd09e443813
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 16 Jun 2022 21:19:17 +0200
machines/osterei/git/stagit: always create symlink to assets
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/machines/osterei/git/stagit.nix b/machines/osterei/git/stagit.nix @@ -21,6 +21,9 @@ let make_stagit_index() { printf "Generating stagit index... " + # set assets if not already there + ln -sf "${stagit}/share/doc/stagit/style.css" "/var/lib/stagit/style.css" 2> /dev/null + # generate index arguments args="-n 'ctucx.git' -e 'git@ctu.cx'" @@ -75,9 +78,6 @@ in { # clean webdir rm -rf /var/lib/stagit/* - # set assets if not already there - ln -s "${stagit}/share/doc/stagit/style.css" "/var/lib/stagit/style.css" 2> /dev/null - # make files per repo for repo in "$HOME/repositories/"*.git/; do repo="''${repo%/}"