forked from cohabit/server_config
fix: typo in forgejo bin url
This commit is contained in:
parent
b01f89c434
commit
2a8301ce1a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue