From 746f449647ecd03ddd37400212bf42b5d008b4ad Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:39:43 +0200 Subject: [PATCH] Update homebox.sh --- ct/homebox.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ct/homebox.sh b/ct/homebox.sh index 641e4175..d8889e50 100644 --- a/ct/homebox.sh +++ b/ct/homebox.sh @@ -69,8 +69,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v cd /opt rm -rf homebox_bak mv homebox homebox_bak - wget -q https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_x86_64.tar.gz - tar -xf homebox_Linux_x86_64.tar.gz + wget -qO- https://github.com/sysadminsmedia/homebox/releases/download/${RELEASE}/homebox_Linux_x86_64.tar.gz | tar -xzf - -C /opt chmod +x /opt/homebox echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated Homebox" @@ -95,4 +94,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${APP} Setup should be reachable by going to the following URL. - ${BL}http://${IP}:7745${CL} \n" \ No newline at end of file + ${BL}http://${IP}:7745${CL} \n"