adds install.sh to install joeac.net under user joeac.net

This commit is contained in:
2026-07-03 09:18:18 +01:00
parent 19865adb6a
commit dcd2e1cd19
3 changed files with 19 additions and 4 deletions
+6
View File
@@ -2,6 +2,12 @@
Joe Carstairs' public Internet presence
To install:
```sh
wget -O- https://git.joeac.net/joeac/joeac.net/raw/branch/main/install.sh | sh
```
Structure:
```
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
doas adduser -h /home/joeac.net joeac.net \
&& cd /home/joeac.net \
&& sudo -u joeac.net git clone https://git.joeac.net/joeac.net.git joeac.net \
&& sudo ln -s /home/joeac.net/joeac.net /usr/local/lib/joeac.net \
&& cd joeac.net \
&& sudo -u joeac.net make \
&& sudo -u joeac.net make install
+4 -4
View File
@@ -1,6 +1,6 @@
#!/bin/sh
cd /usr/local/lib/joeac.net \
&& git pull \
&& make \
&& make reinstall
cd /home/joeac.net/joeac.net \
&& sudo -u joeac.net git pull \
&& sudo -u joeac.net make \
&& sudo -u joeac.net make reinstall