From d3cb6abf9b4173d059f406f800982328a3ed30d4 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 9 Oct 2015 15:28:27 +0000 Subject: reproducible: maintenance: remove lockfiles related code: we don't use lockfiles anymore --- bin/reproducible_maintenance.sh | 11 ----------- 1 file changed, 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) -- cgit v1.2.3-70-g09d2