Commit febe4fc8 authored by Gleb Fotengauer-Malinovskiy's avatar Gleb Fotengauer-Malinovskiy Committed by Michael Shigorin

repo: armh doesn't have noarch

This is about (a)synchronous package builder in fact.
parent e07bfea2
......@@ -13,8 +13,10 @@ updates_re="${prefix_re}http:\/\/\([^[:space:]]\+\)[[:space:]]*"
# architectures
host_arch="$(rpm --eval '%_host_cpu')"
[ "$host_arch" = "x86_64" ] && compat="x86_64-i586" || compat=
[ "$host_arch" = 'armh' ] && noarch= || noarch='noarch'
# turn on unconditionally
for arch in "$host_arch" noarch "$compat"; do
for arch in "$host_arch" "$noarch" "$compat"; do
[ -n "$arch" ] || continue
sed -i "s/^#\($updates_re$arch\)/\1/" "$repo_source"
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment