Update heimdalldashboard2.4.6-update.sh

This commit is contained in:
tteckster 2022-03-27 15:19:08 -04:00 committed by GitHub
parent bbdfeccbc0
commit d9a5713891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +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) }')
mv Heimdall-${VER}/* /opt/Heimdall mv Heimdall-${VER} /opt/Heimdall
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
service_path="/etc/systemd/system/heimdall.service" service_path="/etc/systemd/system/heimdall.service"