mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Update pialert_update.sh
This commit is contained in:
@@ -51,8 +51,9 @@ main() {
|
|||||||
# Create backup
|
# Create backup
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
create_backup() {
|
create_backup() {
|
||||||
print_msg "- Deleting previous Pi.Alert backups..."
|
# Previous backups are not deleted
|
||||||
rm "$INSTALL_DIR/"pialert_update_backup_*.tar 2>/dev/null || :
|
# print_msg "- Deleting previous Pi.Alert backups..."
|
||||||
|
# rm "$INSTALL_DIR/"pialert_update_backup_*.tar 2>/dev/null || :
|
||||||
|
|
||||||
print_msg "- Creating new Pi.Alert backup..."
|
print_msg "- Creating new Pi.Alert backup..."
|
||||||
cd "$INSTALL_DIR"
|
cd "$INSTALL_DIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user