aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodules/draklive/files/clean-live.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/draklive/files/clean-live.sh b/modules/draklive/files/clean-live.sh
index 9866f94b..d095a4c5 100755
--- a/modules/draklive/files/clean-live.sh
+++ b/modules/draklive/files/clean-live.sh
@@ -11,3 +11,5 @@ find $DRAKLIVE_ROOT/{chroot/*,build/*/*} -maxdepth 0 -not -name dist -mtime +$(e
# keep dist (iso + lists) for all sets during 20 days
MAX_DIST_AGE=20
find $DRAKLIVE_ROOT/build/*/dist -maxdepth 0 -mtime +$(expr $MAX_DIST_AGE - 1) -exec $RM {} \;
+
+find /var/lib/draklive/build -maxdepth 1 -links 2 -exec rmdir {} \;