Compare commits

..

No commits in common. "a1719b09f58a3cd0cc3e5d0b7ecf505bb08c491f" and "c3ef1c7c4e89a3c6ef44e3f87895789e6c2399e0" have entirely different histories.

4 changed files with 7 additions and 11 deletions

1
bash/.gitignore vendored
View File

@ -4,7 +4,6 @@
*.jpeg
# download-forgejo.bash results to these
forgejo-*
gitea
# employees.bash
employees.csv
# submodule symlinks

View File

@ -1,12 +1,12 @@
#!/usr/bin/env bash
VERSION=1.21.11-1
VERSION=1.19.1-0
PLATFORM=linux-amd64
# If the signature is already downloaded, don't redownload it
if [ -f "forgejo-$VERSION-$PLATFORM.asc" ]; then
printf "Forĝejo signature already downloaded.\n"
else
printf "Downloading Forĝejo %b-%b signature…\n" "$VERSION" "$PLATFORM"
printf "Downloading Forĝejo $VERSION-$PLATFORM signature…\n"
curl -LO "https://codeberg.org/forgejo/forgejo/releases/download/v$VERSION/forgejo-$VERSION-$PLATFORM.asc"
fi
@ -14,7 +14,7 @@ fi
if [ -f "forgejo-$VERSION-$PLATFORM" ]; then
printf "Forĝejo already downloaded.\n"
else
printf "Downloading Forĝejo %b on %b\n" "$VERSION" "$PLATFORM"
printf "Downloading Forĝejo $VERSION on $PLATFORM…\n"
curl -LO "https://codeberg.org/forgejo/forgejo/releases/download/v$VERSION/forgejo-$VERSION-$PLATFORM"
fi
@ -23,7 +23,7 @@ printf "Verifying signature…\n"
gpg --verify forgejo-$VERSION-$PLATFORM.asc
printf "Final steps: \n\t 1. Place the binary where the systemd service expects it.\n\t \
2. sudo chmod -v a+rx forgejo-%b-%b\n\t \
3. sudo ln -sfv forgejo-%b-%b gitea \n\t \
4. sudo systemctl restart gitea.service" "$VERSION" "$PLATFORM" "$VERSION" "$PLATFORM"
2. sudo chmod a+rx forgejo-$VERSION-$PLATFORM\n\t \
3. sudo ln -sf forgejo-$VERSION-$PLATFORM gitea \n\t \
4. sudo systemctl restart gitea"
echo

View File

@ -10,8 +10,5 @@ sudo systemctl restart yggdrasil.service
sudo systemctl restart iwd.service
sudo systemctl restart systemd-networkd.service
sleep 5
sudo systemctl restart unbound.service
sudo systemctl restart systemd-resolved.service
sleep 5
sudo chronyc online
set +x

@ -1 +1 @@
Subproject commit 7113fda70287360624b409fec90715fc863f9e8b
Subproject commit c00f750d964a0ebee486a13464a4b570eb8725f5