knowledgebase

Paritybit.ca Gemini-based Wiki
git clone https://git.sr.ht/~jbauer/knowledgebase
Log | Files | Refs | README

commit 142f80c7fcfa39fcebe857c124f71a78b15a9aec
parent 813f7eca0fe5ee815a4f7d099ce6943e8d016f4e
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Mon, 21 Feb 2022 18:09:52 -0500

Update stagit-update script

Diffstat:
Msysadmin/openbsd-server-details.gmi | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysadmin/openbsd-server-details.gmi b/sysadmin/openbsd-server-details.gmi @@ -213,12 +213,12 @@ The following script is run as an hourly cronjob to update the static pages and # Update all individual repos for repo in /var/git/*; do cd /var/www/git.paritybit.ca/"$(basename "$repo" .git)" - stagit "$repo" + /usr/local/bin/stagit "$repo" done # Re-generate the index page cd /var/www/git.paritybit.ca -stagit-index /var/git/* > index.html +/usr/local/bin/stagit-index /var/git/* > index.html ``` The following script is used to make adding a new repository quicker and easier: