index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-28 14:04:48 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-28 14:04:48 +0100 |
commit | 889c4aa5502eba27fa9775459ffe7157c6882183 (patch) | |
tree | 2eac0638bcd90b94021c6cd93a0c74ff5c528f98 /bin/cleanup | |
parent | 524ad19e1ea39627b7193caabf5cf16b5f52265e (diff) |
-rwxr-xr-x | bin/cleanup | 9 |
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 |