fix: typo in forgejo bin url

This commit is contained in:
Julien Oculi 2024-05-30 13:22:15 +02:00
parent b01f89c434
commit 2a8301ce1a

View file

@ -4,7 +4,7 @@ LATEST=$(curl -fsS https://codeberg.org/forgejo/forgejo/releases/latest | grep -
# Check if already installed
if [[ $(forgejo -v 2> /dev/null | grep -o "[0-9].[0-9].[0-9]" | head -1) != $LATEST ]]; then
# Download forgejo
wget "https://codeberg.org/forgejo/forgejo/releases/download/$LATEST/forgejo-$LATEST-linux-amd64"
wget "https://codeberg.org/forgejo/forgejo/releases/download/v$LATEST/forgejo-$LATEST-linux-amd64"
chmod +x "forgejo-$LATEST-linux-amd64"
# Check GPG Keys