diff options
-rwxr-xr-x | tools/build_live.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build_live.sh b/tools/build_live.sh index 0444eff..099c706 100755 --- a/tools/build_live.sh +++ b/tools/build_live.sh @@ -25,6 +25,9 @@ steps="--clean --all" draklive_cmd="sudo draklive --config-root $draklive_config" #draklive_cmd="sudo -u draklive sudo perl -I./draklive/lib ./draklive/draklive --config-root $draklive_config" +# clean old build sets, keeping only sets from previous day and dist (iso + lists) for all sets +find /var/lib/draklive/{chroot/*,build/*/*} -maxdepth 0 -mtime +0 -not -name dist -exec rm -rf {} \; + start=$(date) for arch in $archs; do for desktop in $desktops; do |