updated script

This commit is contained in:
ren 2023-02-19 19:16:54 -06:00
parent 43973e18aa
commit fb94a039e2

View file

@ -1,5 +1,6 @@
#!/bin/sh
echo "Run as git user + still needs a bit of manual interaction. Updating gemini blog..."
cd $GEMIBLOG
doas chmod u=g -R .
git pull
GEM_USER=$(stat -c "%U" .)
GEM_GROUP=$(stat -c "%G" .)
doas -u $GEM_USER git pull