mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-26 06:55:55 +00:00
unused
This commit is contained in:
@@ -56,11 +56,6 @@ function update_script() {
|
|||||||
# Save the new version
|
# Save the new version
|
||||||
echo "$RELEASE" | $STD tee /opt/${APP}_version.txt >/dev/null
|
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}"
|
msg_ok "Successfully updated to v${RELEASE}"
|
||||||
else
|
else
|
||||||
msg_ok "No update required. ${APP} is already at v${RELEASE}."
|
msg_ok "No update required. ${APP} is already at v${RELEASE}."
|
||||||
|
|||||||
Reference in New Issue
Block a user