mirror of https://github.com/tteck/Proxmox.git
Update olivetin.sh
This commit is contained in:
parent
9e82e8c963
commit
fce7ef9a1f
|
@ -50,7 +50,7 @@ function msg_ok() {
|
|||
}
|
||||
|
||||
msg_info "Installing ${APP}"
|
||||
RELEASE=$(curl -s https://api.github.com/repos/OliveTin/OliveTin/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
RELEASE=$(curl -s https://api.github.com/repos/OliveTin/OliveTin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
wget -q github.com/OliveTin/OliveTin/releases/download/$RELEASE/OliveTin_linux_amd64.deb
|
||||
dpkg -i OliveTin_linux_amd64.deb &>/dev/null
|
||||
systemctl enable --now OliveTin &>/dev/null
|
||||
|
|
Loading…
Reference in New Issue