Commit 3314e4dd authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm provides/requires: fix for rpm files

parent 437472f4
......@@ -25,7 +25,7 @@ epm_provides_files()
case $(get_package_type $pkg_files) in
rpm)
docmd "rpm -q --provides -p"
docmd rpm -q --provides -p $pkg_files
;;
deb)
# FIXME: will we provide ourself?
......
......@@ -25,7 +25,7 @@ epm_requires_files()
case $(get_package_type $pkg_files) in
rpm)
docmd "rpm -q --requires -p"
docmd rpm -q --requires -p $pkg_files
;;
deb)
a= docmd dpkg -I $pkg_files | grep "^ *Depends:" | sed "s|^ *Depends:||g"
......
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