From 889c4aa5502eba27fa9775459ffe7157c6882183 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 28 Nov 2017 14:04:48 +0100 Subject: bin/cleanup: remove dependency graphs of packages on the deletion-list --- bin/cleanup | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin') diff --git a/bin/cleanup b/bin/cleanup index ff4247c..78daece 100755 --- a/bin/cleanup +++ b/bin/cleanup @@ -99,3 +99,12 @@ find "${build_log_directory}/success" -maxdepth 1 -type f -mtime +14 \ # remove old package meta data delete_old_metadata + +# remove dependency graphs of packages on the deletion list +sed ' + s|^|'"${webserver_directory}"'/graphs/| + s|$|.png| +' "${work_dir}/deletion-list" | \ + xargs -rn1 rm -f + +exit 0 -- cgit v1.2.3-70-g09d2