Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-06 10:35:33 +0100
committerErich Eckner <git@eckner.net>2018-02-06 10:35:33 +0100
commit668b94e67649d45d3bd7dacf075dab14428ce24b (patch)
tree30c1b3d2a60da9504144cc55b8a73f69e3d4e877 /bin/get-package-updates
parent0a1661c353b65730bb905a17a165185dfbb32577 (diff)
bin/get-package-updates: use new column `is_to_be_deleted` in `binary_packages`
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 7b394c0..f451991 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -110,7 +110,7 @@ delete_package() {
'build_assignments' 'build_assignments' 'build_assignment'
printf ' JOIN `%s` ON `%s`.`id`=`%s`.`%s`' \
'package_sources' 'package_sources' 'build_assignments' 'package_source'
- printf ' SET `binary_packages`.`repository`=(SELECT `repositories`.`id` FROM `repositories` WHERE `repositories`.`name`="deletion-list")'
+ printf ' SET `binary_packages`.`is_to_be_deleted`=1'
printf ' WHERE `repositories`.`name`="build-list"'
printf ' AND `package_sources`.`pkgbase`=from_base64("%s");' \
"$(printf '%s' "$1" | base64 -w0)"