Update pialert_update.sh

This commit is contained in:
pucherot authored and GitHub committed 2021-02-02 10:08:59 +01:00
1 parent b6abdcb357
commit f8014f1bf4
1 file changed
+3 -2
+3 -2
View File
@@ -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"