diff options
-rwxr-xr-x | bin/reproducible_maintenance.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 3ecb7ef6..aed15218 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -304,17 +304,6 @@ if [ ! -z "$PSCALL" ] ; then fi -# remove lockfiles older than 2 days -echo "$(date -u) - Checking for lockfiles older than 2 days." -LOCKFILES=$(find /tmp/reproducible-lockfile-* -maxdepth 1 -type f -mtime +2 -exec ls -lad {} \; 2>/dev/null|| true) -if [ ! -z "$LOCKFILES" ] ; then - echo - echo "Removed old lockfiles:" - find /tmp/reproducible-lockfile-* -maxdepth 1 -type f -mtime +2 -exec rm -rv {} \; - echo -fi - - # remove artifacts older than 3 days echo "$(date -u) - Checking for artifacts older than 3 days." ARTIFACTS=$(find $BASE/artifacts/* -maxdepth 1 -type d -mtime +3 -exec ls -lad {} \; 2>/dev/null|| true) |