Update cacherebuild.sh

This commit is contained in:
Igor Pečovnik
2021-12-26 14:58:30 +01:00
committed by GitHub
parent faab2e4556
commit 8c4374932d

View File

@@ -25,7 +25,7 @@ source "$SCRIPT_DIR/cacherebuild-functions.sh"
[[ -f cacherebuild.conf ]] && source "$SCRIPT_DIR/cacherebuild.conf" || display_alert "Using defaults" "" "info"
# hardcoded variables and calculations
DAYSBEFORE=4
DAYSBEFORE=6
START_TIME=$(date +%s)
MONTH=$(date -d "$M" '+%m' | sed 's/\<0//g')
DAYINMONTH=$(date -d "$D" '+%d' | sed 's/\<0//g')