diff options
-rwxr-xr-x | modules/draklive/files/clean-live.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/draklive/files/clean-live.sh b/modules/draklive/files/clean-live.sh index d095a4c5..cceb6a4a 100755 --- a/modules/draklive/files/clean-live.sh +++ b/modules/draklive/files/clean-live.sh @@ -12,4 +12,4 @@ find $DRAKLIVE_ROOT/{chroot/*,build/*/*} -maxdepth 0 -not -name dist -mtime +$(e 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 {} \; +find $DRAKLIVE_ROOT/build -maxdepth 1 -links 2 -exec rmdir {} \; |