Update heimdalldashboard-install.sh

test
This commit is contained in:
tteckster 2024-02-18 16:46:21 -05:00 committed by GitHub
parent faad7f25cc
commit d806d87cfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -32,9 +32,8 @@ RELEASE=v2.5.8
msg_info "Installing Heimdall Dashboard ${RELEASE}" msg_info "Installing Heimdall Dashboard ${RELEASE}"
$STD curl --silent -o ${RELEASE}.tar.gz -L "https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz" $STD curl --silent -o ${RELEASE}.tar.gz -L "https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz"
$STD tar xvzf ${RELEASE}.tar.gz $STD tar xvzf ${RELEASE}.tar.gz
VER=$(curl -s https://api.github.com/repos/linuxserver/Heimdall/releases/latest | #VER=$(curl -s https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
grep "tag_name" | VER=2.5.8
awk '{print substr($2, 3, length($2)-4) }')
rm -rf ${RELEASE}.tar.gz rm -rf ${RELEASE}.tar.gz
mv Heimdall-${VER} /opt/Heimdall mv Heimdall-${VER} /opt/Heimdall
msg_ok "Installed Heimdall Dashboard ${RELEASE}" msg_ok "Installed Heimdall Dashboard ${RELEASE}"