This commit is contained in:
Daniel Kukula 2025-08-13 19:50:20 +02:00
parent b6db98b8dc
commit 12d5850ede

View File

@ -56,11 +56,6 @@ function update_script() {
# Save the new version
echo "$RELEASE" | $STD tee /opt/${APP}_version.txt >/dev/null
# Cleanup backup if update was successful
if [[ -d /opt-backup ]]; then
$STD rm -rf /opt-backup
fi
msg_ok "Successfully updated to v${RELEASE}"
else
msg_ok "No update required. ${APP} is already at v${RELEASE}."