Update log file search pattern and add missing packages to system_packages.txt
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
libstdc++
|
||||
gcompat
|
||||
bash
|
||||
git
|
||||
git
|
||||
nodejs
|
||||
npm
|
||||
Reference in New Issue
Block a user