mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
fixed update_script and obtaining latest releases
This commit is contained in:
parent
381420ad50
commit
2fd158625d
62 changed files with 4904 additions and 4 deletions
|
@ -15,10 +15,14 @@ update_os
|
|||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y git
|
||||
$STD apt-get install -y sudo
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Gitea"
|
||||
wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64
|
||||
RELEASE=$(wget -q https://github.com/go-gitea/gitea/releases/latest -O - | grep "title>Release" | cut -d " " -f 4)
|
||||
VERSION=${RELEASE#v}
|
||||
wget -q https://github.com/go-gitea/gitea/releases/download/$RELEASE/gitea-$VERSION-linux-amd64
|
||||
#wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64
|
||||
mv gitea* /usr/local/bin/gitea
|
||||
chmod +x /usr/local/bin/gitea
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue