Update Homebox.sh

This commit is contained in:
CanbiZ 2025-01-06 10:44:08 +01:00 committed by GitHub
parent d7518d8644
commit f98d81f5bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ function update_script() {
systemctl stop homebox systemctl stop homebox
msg_ok "${APP} Stopped" msg_ok "${APP} Stopped"
msg_info "Updating ${APP} to v${RELEASE}" msg_info "Updating ${APP} to ${RELEASE}"
cd /opt cd /opt
rm -rf homebox_bak rm -rf homebox_bak
rm -rf /tmp/homebox.tar.gz rm -rf /tmp/homebox.tar.gz
@ -54,7 +54,7 @@ function update_script() {
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
else else
msg_ok "No update required. ${APP} is already at v${RELEASE}" msg_ok "No update required. ${APP} is already at ${RELEASE}"
fi fi
exit exit
} }