commit 813f7eca0fe5ee815a4f7d099ce6943e8d016f4e parent d8b6cb98b19f1f52a1a318009381277a8f6b5ef4 Author: Jake Bauer <jbauer@paritybit.ca> Date: Mon, 21 Feb 2022 17:57:46 -0500 Fix stagit-update script Diffstat:
M | sysadmin/openbsd-server-details.gmi | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sysadmin/openbsd-server-details.gmi b/sysadmin/openbsd-server-details.gmi @@ -210,10 +210,8 @@ The following script is run as an hourly cronjob to update the static pages and ```stagit-update #!/bin/sh -# Pull and update all individual repos +# Update all individual repos for repo in /var/git/*; do - cd "$repo" - git fetch --force --prune cd /var/www/git.paritybit.ca/"$(basename "$repo" .git)" stagit "$repo" done