mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 11:56:20 +00:00
Update heimdalldashboard-install.sh
test
This commit is contained in:
parent
faad7f25cc
commit
d806d87cfd
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user