From 176f0d94cb8f02db2fa86ee81d9b025edc962005 Mon Sep 17 00:00:00 2001 From: pucherot Date: Tue, 2 Feb 2021 10:08:59 +0100 Subject: [PATCH] Update pialert_update.sh --- install/pialert_update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/pialert_update.sh b/install/pialert_update.sh index 4d4b7030..69fc8fcb 100644 --- a/install/pialert_update.sh +++ b/install/pialert_update.sh @@ -51,8 +51,9 @@ main() { # Create backup # ------------------------------------------------------------------------------ create_backup() { - print_msg "- Deleting previous Pi.Alert backups..." - rm "$INSTALL_DIR/"pialert_update_backup_*.tar 2>/dev/null || : + # Previous backups are not deleted + # print_msg "- Deleting previous Pi.Alert backups..." + # rm "$INSTALL_DIR/"pialert_update_backup_*.tar 2>/dev/null || : print_msg "- Creating new Pi.Alert backup..." cd "$INSTALL_DIR"