Commit 2a21b83a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-info: try print info for installed package

parent 3574ffa9
......@@ -18,10 +18,22 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
load_helper epm-query
epm_info()
{
case $PMTYPE in
apt-rpm|apt-dpkg)
apt-rpm)
if [ -n "$pkg_files" ] ; then
docmd rpm -qip $pkg_files
fi
[ -z "$pkg_names" ] && return
pkg_filenames=$pkg_names epm_query >/dev/null && docmd rpm -qi $pkg_names && return
docmd apt-cache show $pkg_names
;;
apt-dpkg)
[ -z "$pkg_names" ] && return
pkg_filenames=$pkg_names epm_query >/dev/null && docmd dpkg -I $pkg_names && return
docmd apt-cache show $pkg_names
;;
yum-rpm)
......
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