Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/delete-packages12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/delete-packages b/bin/delete-packages
index cf151fa..58d15e3 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -304,6 +304,18 @@ export TMPDIR="${tmp_dir}"
}
'
+if [ -n "${build_support}" ] && \
+ [ -w "${build_support}" ] && \
+ [ ! -p "${build_support}" ]; then
+ sed -n '
+ \,^pool/, d
+ s/\.sig$//
+ T
+ p
+ ' "${tmp_dir}/package-files" > \
+ "${build_support}"
+fi
+
if [ ! -s "${tmp_dir}/packages" ]; then
printf 'Nothing to delete.\n'
exit