Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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
'