Commit 5f2cd59c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-simulate: fix for non numeric version on Slackware (libjpeg-v8a)

parent 3d377fb8
......@@ -54,7 +54,10 @@ _epm_do_simulate()
local pkg res
res=0
for pkg in $filenames ; do
pkg_filenames="$pkg-[0-9]" epm_search | grep -E "(installed|upgrade)" || { res=1; echo "Does not found in repository." ; }
pkg_filenames="$pkg-[0-9]" epm_search | grep -E "(installed|upgrade)" && continue
pkg_filenames="$pkg" epm_search | grep -E "(installed|upgrade)" && continue
res=1
echo "Does not found in repository."
done
return $res ;;
*)
......
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