diff options
-rwxr-xr-x | lib/mysql-functions | 2 |
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 ' |