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
|
DEST=$ARCHIVE_DIR/$TIMESTAMP
|
||||||
|
|
||||||
# Find log files directly in the logs directory (non-recursive, skip archive subdir)
|
# 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
|
if [ -z "$LOG_FILES" ]; then
|
||||||
echo "[archiveLogs] No log files to archive."
|
echo "[archiveLogs] No log files to archive."
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
libstdc++
|
libstdc++
|
||||||
gcompat
|
gcompat
|
||||||
bash
|
bash
|
||||||
git
|
git
|
||||||
|
nodejs
|
||||||
|
npm
|
||||||
Reference in New Issue
Block a user