diff --git a/registry/scripts/clean.sh b/registry/scripts/clean.sh index b1dd74f4348dae3789e1ce74f0365322f3d1b56a..d3f23bca49abf88a9379cd3b6bd18fd8c6578db1 100755 --- a/registry/scripts/clean.sh +++ b/registry/scripts/clean.sh @@ -22,7 +22,7 @@ cp $conf_file $conf_file.old while read line do if [ ! -z "$line" ] && \ - [ "$(echo $line | cut -d ' ' -f 1)" -gt "$(date -d '-6 month' +%Y%m%d)" ] + [ "$(echo $line | cut -d ' ' -f 1)" -gt "$(date -d '-3 weeks' +%Y%m%d)" ] then LINES="$LINES\n$line" fi