install.sh doesn't attempt to re-add joeac.net user if already exists

This commit is contained in:
2026-07-03 10:44:52 +01:00
parent 6a4d6d88c5
commit ac81aeed31
+4 -1
View File
@@ -12,7 +12,10 @@ done
set -e
doas adduser -h /home/joeac.net joeac.net
if [ -z "$(grep "\bjoeac.net\b" /etc/group)" ]
then
doas adduser -h /home/joeac.net joeac.net
fi
cd /home/joeac.net
sudo -u joeac.net git clone https://git.joeac.net/joeac.net.git joeac.net