Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/db-update7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/db-update b/bin/db-update
index 343b9d4..1417820 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -342,7 +342,7 @@ move_packages() {
"${tmp_dir}/tmp/${package}.to_repo"
)"
printf ' WHERE'
- printf ' `architectures`.`name`=from_base64("%s")' \
+ printf ' `repositories`.`name`=from_base64("%s")' \
"$(
base64_encode_each < \
"${tmp_dir}/tmp/${package}.from_repo"
@@ -364,12 +364,9 @@ move_packages() {
'pkgver' '\3' \
'pkgrel' '\4' \
'sub_pkgrel' '\5'
- printf ' AND `architectures`.`name`=from_base64("\6")'
+ printf ' AND `architectures`.`name`=from_base64("\\6")'
)"',
'
- printf ' AND `binary_packages`.`%s`=from_base64("%s")' \
- 'epoch' "$(
- )"
printf ';\n'
done < \
"${tmp_dir}/tmp/${package}.parts"