index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-28 12:07:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-28 12:07:07 +0200 |
commit | 8a15e329c3d23d8748aa6fbb5d5b05ca6c0fdfe5 (patch) | |
tree | 2861a1d562a8134c277398aa7fd703bdadaa887a | |
parent | 4eaa10dc059e9708960d6e93cd9ee588762fe10c (diff) |
-rwxr-xr-x | bin/delete-packages | 12 |
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 |