Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-11-12 22:12:17 +0100
committerErich Eckner <git@eckner.net>2021-11-12 22:12:17 +0100
commitde26d3c539b999a771eeba329f24fc593d9672ed (patch)
treee1b9f658ba22cdd1930b625d202d542b3e5bb1d2 /bin
parent70bc2a35b14b927f268b5c69cda6d626634723ad (diff)
bin/delete-packages: do not attempt to delete packages which are not on the master mirror
Diffstat (limited to 'bin')
-rwxr-xr-xbin/delete-packages3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/delete-packages b/bin/delete-packages
index 2bb3072..0026c88 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -160,7 +160,8 @@ export TMPDIR="${tmp_dir}"
mysql_join_binary_packages_in_repositories_binary_packages
mysql_join_binary_packages_in_repositories_repositories
mysql_join_repositories_architectures
- printf ' WHERE CONCAT('
+ printf ' WHERE `repositories`.`is_on_master_mirror`'
+ printf ' AND CONCAT('
printf '`architectures`.`name`,"/",'
printf '`repositories`.`name`,"/",'
printf '`binary_packages`.`pkgname`'