Commit d42f0d81 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query: fix __print_suffix (skip for empty arg)

parent 91e0cfef
......@@ -25,6 +25,7 @@ __print_with_arch_suffix()
{
local pkg="$1"
local suffix="$2"
[ -n "$pkg" ] || return 1
# do not change if some suffix already exists
echo "$pkg" | grep -q "(x86-32)$" && echo "$pkg" | sed -e "s|(x86-32)$|.i686|" && return 1
echo "$pkg" | grep "\.x86_64$" && return 1
......
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