Update peanut-install.sh

pin version v2.6.1 (test)
This commit is contained in:
tteckster 2024-10-21 21:20:52 -04:00 committed by GitHub
parent d11ad56158
commit 34917b15f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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/${RELEASE} wget -qO peanut.tar.gz https://api.github.com/repos/Brandawg93/PeaNUT/tarball/v2.6.1
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
@ -76,4 +76,4 @@ customize
msg_info "Cleaning up" msg_info "Cleaning up"
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"