Update heimdalldashboard-install.sh

hard code v2.5.8
This commit is contained in:
tteckster 2024-02-18 17:12:01 -05:00 committed by GitHub
parent d806d87cfd
commit eb7491c6c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,10 +28,10 @@ $STD apt-get install -y php-intl
msg_ok "Installed PHP"
#RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]')
RELEASE=v2.5.8
RELEASE=V2.5.8
msg_info "Installing Heimdall Dashboard ${RELEASE}"
$STD curl --silent -o ${RELEASE}.tar.gz -L "https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz"
$STD tar xvzf ${RELEASE}.tar.gz
wget -q https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz
tar xzf ${RELEASE}.tar.gz
#VER=$(curl -s https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
VER=2.5.8
rm -rf ${RELEASE}.tar.gz
@ -55,7 +55,7 @@ TimeoutStopSec=30
[Install]
WantedBy=multi-user.target" >$service_path
$STD sudo systemctl enable --now heimdall.service
systemctl enable -q --now heimdall.service
msg_ok "Created Service"
motd_ssh