Update heimdalldashboard2.4.6-update.sh

This commit is contained in:
tteckster 2022-03-27 14:41:08 -04:00 committed by GitHub
parent 40ad8a81b1
commit 5455433182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ tar xvzf ${RELEASE}.tar.gz &>/dev/null
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" \ | grep "tag_name" \
| awk '{print substr($2, 3, length($2)-4) }') | awk '{print substr($2, 3, length($2)-4) }')
mkdir /opt/Heimdall
mv Heimdall-${VER}/* /opt/Heimdall mv Heimdall-${VER}/* /opt/Heimdall
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"