Update homebox.sh

This commit is contained in:
CanbiZ 2024-09-16 12:39:43 +02:00 committed by GitHub
parent 89d1ae9267
commit 746f449647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
${BL}http://${IP}:7745${CL} \n"