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>2018-09-24 13:27:41 +0200
committerErich Eckner <git@eckner.net>2018-09-24 13:27:41 +0200
commit5febd04701dfdc124bb1f4d50fe5a561f2548c25 (patch)
tree6d8bb23dfd44e3ea0f7a8f79b0a9fa6a5098e4f2 /lib
parentc0973425861ac911a887d0865905571673ce41de (diff)
lib/mysql-functions: mysql_query_remove_old_binary_packages_from_build_list() should run the deletion part of mysql_query_and_delete_unneeded_binary_packages(), too
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index f1b663e..98efd23 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1304,6 +1304,9 @@ mysql_query_remove_old_binary_packages_from_build_list() {
printf ')'
printf ')'
printf ');\n'
+
+ mysql_query_and_delete_unneeded_binary_packages | \
+ grep -v '^SELECT '
}
# mysql_query_ordering_correct dependency.version.order install_target_provider.version.order dependency.version_relation