From 208a18e6ec1b79ed1867b3f724454d775f6324ac Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Sun, 4 Sep 2022 14:57:46 +0200 Subject: [PATCH] reproducible Debian live: No sudo required to delete old live-build result directories --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index b425ca353..3e7972fc3 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -127,7 +127,7 @@ if [ ! -z "$OLDSTUFF" ] ; then echo echo "Old temp directories for live-build found in $REP_RESULTS" echo -n "$OLDSTUFF" - find $REP_RESULTS -maxdepth 1 -type d -mtime +0 -name "live-build-*" -exec sudo rm -rf --one-file-system {} \; || true + find $REP_RESULTS -maxdepth 1 -type d -mtime +0 -name "live-build-*" -exec rm -rf --one-file-system {} \; || true echo "These old temp directories for live-build have been deleted." echo DIRTY=true -- GitLab