Fix wget error
This commit is contained in:
parent
ae839c5dce
commit
c964f186c0
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo -n "Forgejo Tag to Download: "
|
echo -n "Forgejo Tag to Download: "
|
||||||
read version
|
read version
|
||||||
wget -O /root/forgejo https://codeberg.org/forgejo/forgejo/releases/tag/$version/forgejo-$version-linux-amd64
|
wget -O /root/forgejo https://codeberg.org/forgejo/forgejo/releases/download/v$version/forgejo-$version-linux-amd64
|
||||||
systemctl stop forgejo
|
systemctl stop forgejo
|
||||||
cp /root/forgejo /usr/local/bin/forgejo
|
cp /root/forgejo /usr/local/bin/forgejo
|
||||||
chmod 755 /usr/local/bin/forgejo
|
chmod 755 /usr/local/bin/forgejo
|
||||||
|
|
Loading…
Reference in a new issue