From 04e3a5b7aac60de8860768239451829c99dd6df3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 20 Feb 2020 14:28:39 +0100 Subject: lib/mysql-functions: mysql_query_delete_packages() bugfix --- lib/mysql-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' -- cgit v1.2.3-70-g09d2