From b4cbe014c24a5180fae68023eece3f43513e2f86 Mon Sep 17 00:00:00 2001 From: Pierre Date: Tue, 26 May 2026 22:01:50 +0200 Subject: [PATCH] Update log file search pattern and add missing packages to system_packages.txt --- archiveLogs.sh | 2 +- system_packages.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/archiveLogs.sh b/archiveLogs.sh index 4352ee8..a4e18d7 100644 --- a/archiveLogs.sh +++ b/archiveLogs.sh @@ -11,7 +11,7 @@ TIMESTAMP=$(date +"%Y%m%d_%H%M%S") DEST=$ARCHIVE_DIR/$TIMESTAMP # Find log files directly in the logs directory (non-recursive, skip archive subdir) -LOG_FILES=$(find "$LOGS_DIR" -maxdepth 1 -type f -name "*.log") +LOG_FILES=$(find "$LOGS_DIR" -maxdepth 1 -type f -name "*.log*") if [ -z "$LOG_FILES" ]; then echo "[archiveLogs] No log files to archive." diff --git a/system_packages.txt b/system_packages.txt index 1c56597..2708cb0 100644 --- a/system_packages.txt +++ b/system_packages.txt @@ -1,4 +1,6 @@ libstdc++ gcompat bash -git \ No newline at end of file +git +nodejs +npm \ No newline at end of file