diff options
author | Erich Eckner <git@eckner.net> | 2020-02-20 14:28:39 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-20 14:28:39 +0100 |
commit | 04e3a5b7aac60de8860768239451829c99dd6df3 (patch) | |
tree | 3388488f60c7017804d8e964f98aafecd0534ef4 /lib | |
parent | 972a673e7a2dfa4b834c5175f0b30f4b8adb3655 (diff) | |
download | builder-04e3a5b7aac60de8860768239451829c99dd6df3.tar.xz |
lib/mysql-functions: mysql_query_delete_packages() bugfix
Diffstat (limited to 'lib')
-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 ' |