Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/find-obsolete-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-01 11:06:41 +0200
committerErich Eckner <git@eckner.net>2018-06-01 11:06:41 +0200
commite0c167a65916bf995add39aec94f5f524af834e4 (patch)
treee828228392ecdc50115468c7384c0e0353b2382b /bin/find-obsolete-packages
parentb72da8d58250ade67c3315545665cd2f77c86d01 (diff)
make `binary_packages`.`is_to_be_deleted` and `binary_packages`.`last_moved` obsolete; cleanup some queries
Diffstat (limited to 'bin/find-obsolete-packages')
-rwxr-xr-xbin/find-obsolete-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/find-obsolete-packages b/bin/find-obsolete-packages
index c6db3ce..db9f818 100755
--- a/bin/find-obsolete-packages
+++ b/bin/find-obsolete-packages
@@ -109,7 +109,7 @@ fi
mysql_join_binary_packages_binary_packages_in_repositories
mysql_join_binary_packages_in_repositories_repositories
printf ' WHERE `repositories`.`is_on_master_mirror`'
- printf ' AND NOT `binary_packages`.`is_to_be_deleted`'
+ printf ' AND NOT `binary_packages_in_repositories`.`is_to_be_deleted`'
} | \
mysql_run_query
} | \