Commit 99f74d79 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix epm query for non rpm/deb systems

parent 3522556f
...@@ -28,10 +28,10 @@ _query_via_packages_list() ...@@ -28,10 +28,10 @@ _query_via_packages_list()
shift shift
# separate first line for print out command # separate first line for print out command
pkg_filenames=$firstpkg epm_packages | grep -- "^$firstpkg$" || res=1 short=1 pkg_filenames=$firstpkg epm_packages | grep -- "^$firstpkg$" || res=1
for pkg in "$@" ; do for pkg in "$@" ; do
pkg_filenames=$pkg epm_packages 2>/dev/null | grep -- "^$pkg$" || res=1 short=1 pkg_filenames=$pkg epm_packages 2>/dev/null | grep -- "^$pkg$" || res=1
done done
return $res 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