mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
Update cacherebuild.sh
This commit is contained in:
@@ -32,6 +32,7 @@ DAYINMONTH=$(date -d "$D" '+%d' | sed 's/\<0//g')
|
||||
REBUILDDAY=$(date -d "${MONTH}/1 + 1 month - ${DAYSBEFORE} day" "+%d")
|
||||
MEM_INFO=$(($(LC_ALL=C free -w 2>/dev/null | grep "^Mem" | awk '{print $2}' || LC_ALL=C free | grep "^Mem"| awk '{print $2}')/1024))
|
||||
r=0
|
||||
truncate --size=0 ${FILE_OUT}
|
||||
|
||||
# jump to build script folder
|
||||
cd ${BLTPATH}
|
||||
|
||||
Reference in New Issue
Block a user