Commit c1bae85c authored by Vitaly Lipatov's avatar Vitaly Lipatov

query: replace (x86-32) with .i686 for rpm/dnf

parent fd99030f
......@@ -43,7 +43,7 @@ exp_with_arch_suffix()
local pkg
for pkg in $(cat) ; do
# do not change if some suffix already exists
echo "$pkg" | grep "(x86-32)$" && continue
echo "$pkg" | grep -q "(x86-32)$" && echo "$pkg" | sed -e "s|(x86-32)$|.i686|" && continue
echo "$pkg" | grep "\.x86_64$" && continue
echo "$pkg" | grep "\.i[56]86$" && continue
echo "$pkg$suffix"
......
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