mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update peanut-install.sh
revert test
This commit is contained in:
parent
34917b15f5
commit
c9f7f6447d
@ -35,7 +35,7 @@ msg_ok "Installed NUT"
|
|||||||
|
|
||||||
msg_info "Installing Peanut"
|
msg_info "Installing Peanut"
|
||||||
RELEASE=$(curl -sL https://api.github.com/repos/Brandawg93/PeaNUT/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
RELEASE=$(curl -sL https://api.github.com/repos/Brandawg93/PeaNUT/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
||||||
wget -qO peanut.tar.gz https://api.github.com/repos/Brandawg93/PeaNUT/tarball/v2.6.1
|
wget -qO peanut.tar.gz https://api.github.com/repos/Brandawg93/PeaNUT/tarball/${RELEASE}
|
||||||
mkdir -p /opt/peanut
|
mkdir -p /opt/peanut
|
||||||
tar -xzf peanut.tar.gz -C /opt/peanut --strip-components 1
|
tar -xzf peanut.tar.gz -C /opt/peanut --strip-components 1
|
||||||
rm peanut.tar.gz
|
rm peanut.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user