index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-18 12:39:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-18 12:39:41 +0200 |
commit | 1a4d8f99217281c17624d6726f9f0249616b6bbe (patch) | |
tree | bfe54f61abe4fa50264355fed8c77c0a26184113 /bin/return-assignment | |
parent | e85bb8ed54866a6e57307f7b0c8d858eebf7843c (diff) |
-rwxr-xr-x | bin/return-assignment | 10 |
diff --git a/bin/return-assignment b/bin/return-assignment index f56a908..0f000f3 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -105,9 +105,9 @@ package_errors="$( tr ' ' '\n' | \ sed ' s@\(-[^-]\+\)\{2\}-\([^-]\+\)\.pkg\.tar\.xz@ \2@ - / any$/{s|any$|i486|} + / any$/{s|any$|i686|} ' - sed 's|$| i486|' "${work_dir}/package-infos/$1.$2.$3.packages" + sed 's|$| i686|' "${work_dir}/package-infos/$1.$2.$3.packages" ) | \ sort | \ uniq -u @@ -120,11 +120,11 @@ if [ -n "${package_errors}" ]; then fi # move packages -mkdir -p "${master_mirror_directory}/i486/$4-staging/" -mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i486/$4-staging/" +mkdir -p "${master_mirror_directory}/i686/$4-staging/" +mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i686/$4-staging/" ( - cd "${master_mirror_directory}/i486/$4-staging" + cd "${master_mirror_directory}/i686/$4-staging" repo-add "$4-staging.db.tar.gz" "${packages[@]}" # repo-add -v -s -k "${repo_key}" "$4-staging.db.tar.gz" "${packages[@]}" ) |