Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-31 13:27:18 +0200
committerErich Eckner <git@eckner.net>2018-05-31 13:27:18 +0200
commit8dde526290718371b6da178c65955d431910fd97 (patch)
treeb758ee02e490fa2c1348ff780699a50330bdae03 /bin/return-assignment
parent38839007b3cbcdc91bea10c7e1328a2f12a942af (diff)
fill new columns in `binary_packages_in_repositories`, too
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 2df6ad6..0488a7d 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -602,8 +602,8 @@ trigger_mirror_refreshs
# insert into appropriate repositories and retrieve ids
while read -r package_id _; do
- printf 'INSERT INTO `binary_packages_in_repositories` (`package`,`repository`) VALUES '
- printf '(%s,%s);\n' \
+ printf 'INSERT INTO `binary_packages_in_repositories` (`package`,`repository`,`is_to_be_deleted`) VALUES '
+ printf '(%s,%s,0);\n' \
"${package_id}" "${destination_id}"
printf 'SELECT LAST_INSERT_ID();\n'
done < \