Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: brian (git@myr.sh)
Date: Fri Sep 29 15:40:33 2023 -0300
Parent: eca64d3
Changed tar location
diff --git a/aux.sh b/aux.sh index f14641f..b10c9cf 100755 --- a/aux.sh +++ b/aux.sh @@ -65,8 +65,8 @@ pagesummary() { </nav> <p><i>$(cat description)</i></p> </center> - <kbd>curl https://dovel.email/$REPO/$REPO.tar</kbd> - <a style="float:right" href=/$REPO/$REPO.tar filename=$REPO.tar>tar</a> + <kbd>curl https://dovel.email/$REPO.tar</kbd> + <a style="float:right" href=/$REPO.tar filename=$REPO.tar>tar</a> EOF } diff --git a/update-repo-index b/update-repo-index index 7b3a77c..a7e0389 100755 --- a/update-repo-index +++ b/update-repo-index @@ -10,7 +10,7 @@ OUT="$HOME/www/dovel.email/$REPO" # archives echo "creating archives" -tar -C "$OUT" cz tree/ --xform="s/tree/$REPO/" > "$OUT/$REPO.tar.gz" +tar -C "$OUT" cz tree/ --xform="s/tree/$REPO/" > "$OUT.tar.gz" echo "creating index.html" cat << EOF > "$OUT/index.html"