Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-20 14:28:39 +0100
committerErich Eckner <git@eckner.net>2020-02-20 14:28:39 +0100
commit04e3a5b7aac60de8860768239451829c99dd6df3 (patch)
tree3388488f60c7017804d8e964f98aafecd0534ef4 /lib
parent972a673e7a2dfa4b834c5175f0b30f4b8adb3655 (diff)
lib/mysql-functions: mysql_query_delete_packages() bugfix
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 5d63cd5..706a11d 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1796,7 +1796,7 @@ mysql_query_delete_packages() {
printf '`binary_packages` AS `keep_bp`'
mysql_join_binary_packages_binary_packages_in_repositories 'keep_bp' 'keep_bpir'
mysql_join_binary_packages_in_repositories_repositories 'keep_bpir' 'keep_r'
- printf ' AND %s' "${repositories_condition}" \
+ printf ' AND NOT (%s)' "${repositories_condition}" \
| sed '
s/\b`repositories`\b/`keep_r`/g
'