From b540687d8238e7e3755b2bb4d4154907d75ac3e7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 23 Mar 2022 15:10:38 -0400 Subject: [PATCH] Update heimdalldashboard-install.sh --- setup/heimdalldashboard-install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup/heimdalldashboard-install.sh b/setup/heimdalldashboard-install.sh index b6006497..30c91325 100644 --- a/setup/heimdalldashboard-install.sh +++ b/setup/heimdalldashboard-install.sh @@ -65,11 +65,12 @@ apt-get install -y php-sqlite3 &>/dev/null apt-get install -y php-zip &>/dev/null echo -e "${CM}${CL} \r" -echo -en "${GN} Installing Heimdall Dashboard... " -RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]'); echo $RELEASE &&\ -curl --silent -o /opt/${RELEASE}.tar.gz -L "https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz" +RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]') +echo -en "${GN} Installing Heimdall Dashboard ${RELEASE}... " +curl --silent -o /opt/${RELEASE}.tar.gz -L "https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz" &>/dev/null cd /opt -tar xvzf ${RELEASE}.tar.gz +tar xvzf ${RELEASE}.tar.gz &>/dev/null +echo -e "${CM}${CL} \r" echo -en "${GN} Creating Service... " service_path="/etc/systemd/system/heimdall.service"