diff --git a/install/peanut-install.sh b/install/peanut-install.sh index 910a2ff8..1db21f0a 100644 --- a/install/peanut-install.sh +++ b/install/peanut-install.sh @@ -35,7 +35,7 @@ msg_ok "Installed NUT" msg_info "Installing Peanut" 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 tar -xzf peanut.tar.gz -C /opt/peanut --strip-components 1 rm peanut.tar.gz