Commit ed2092d3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-requires: drop extra output from requires list

parent d7fac7c9
......@@ -29,11 +29,11 @@ epm_requires_files()
case "$PKGTYPE" in
rpm)
assure_exists rpm
docmd rpm -q --requires -p $pkg_files | grep -v "^rpmlib("
assure_exists rpm >/dev/null
docmd rpm -q --requires -p $pkg_files | grep -v "^rpmlib(" | grep -v "^/bin/sh$"
;;
deb)
assure_exists dpkg
assure_exists dpkg >/dev/null
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