]> git.mar77i.info Git - mar77i.info/commitdiff
move gitweb-theme to user directory
authormar77i <mar77i@protonmail.ch>
Tue, 21 Nov 2023 13:00:53 +0000 (14:00 +0100)
committermar77i <mar77i@protonmail.ch>
Tue, 21 Nov 2023 13:00:53 +0000 (14:00 +0100)
post-receive.sh

index ef9aa68de10ed7746050ff50bed73dc20c5f6b6d..9ed695f602ef9c7e6b158c2b71ad31147a2d9e2e 100755 (executable)
@@ -40,7 +40,7 @@ fi
 [[ "${hook_hash}" != "${current_hash}" ]] && update_post_receive_hook
 
 update_gitweb_theme() {
-    local theme_css_dest="/usr/share/gitweb/static/gitweb-theme.css"
+    local theme_css_dest="${HOME}/gitweb/gitweb-theme.css"
     print_and_run bash -c "git show master:gitweb-theme.css > ${theme_css_dest}"
 }