index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-01-22 10:13:27 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-22 10:13:27 +0100 |
commit | bbcdedc4794cda338ae005b4d3361cde4fffd9ce (patch) | |
tree | 65727457f421bbec07cbaa0dc0f06baad22394c3 | |
parent | e542cd450cd69a07eff6fac75790e6182f42c0e6 (diff) |
-rwxr-xr-x | bin/db-update | 7 |
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" |