Update heimdalldashboard2.4.8-update.sh

This commit is contained in:
tteckster 2022-03-27 14:41:37 -04:00 committed by GitHub
parent 5455433182
commit c7fe5d9a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"