Update pialert_update.sh

This commit is contained in:
pucherot
2021-02-02 10:08:59 +01:00
committed by GitHub
parent b6abdcb357
commit f8014f1bf4

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"