Commit 7eaaa3b0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query: fix list package by package

parent ff4305de
......@@ -40,13 +40,13 @@ exp_with_arch_suffix()
esac
# TODO: use estrlist or some function to do it
local str
while read -r str ; do
local pkg
for pkg in $(cat) ; do
# do not change if some suffix already exists
echo "$str" | grep "(x86-32)$" && continue
echo "$str" | grep "\.x86_64$" && continue
echo "$str" | grep "\.i[56]86$" && continue
echo "$str$suffix"
echo "$pkg" | grep "(x86-32)$" && continue
echo "$pkg" | grep "\.x86_64$" && continue
echo "$pkg" | grep "\.i[56]86$" && continue
echo "$pkg$suffix"
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