Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/cleanup9
1 files changed, 9 insertions, 0 deletions
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