Commit 32d5c717 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm whatdepends: use rdepends

parent b44746b6
...@@ -204,7 +204,7 @@ check_command() ...@@ -204,7 +204,7 @@ check_command()
provides|prov) # HELPCMD: print package provides provides|prov) # HELPCMD: print package provides
epm_cmd=provides epm_cmd=provides
;; ;;
whatdepends|wd) # HELPCMD: print packages dependences on that whatdepends|wd|rdepends) # HELPCMD: print packages dependences on that
epm_cmd=whatdepends epm_cmd=whatdepends
;; ;;
whatprovides) # HELPCMD: print packages provides that target whatprovides) # HELPCMD: print packages provides that target
......
...@@ -31,7 +31,9 @@ epm_whatdepends() ...@@ -31,7 +31,9 @@ epm_whatdepends()
# by package name # by package name
case $PMTYPE in case $PMTYPE in
apt-rpm) apt-rpm)
CMD="apt-cache whatdepends" #CMD="apt-cache whatdepends"
# more quiet
CMD="apt-cache rdepends"
;; ;;
apt-dpkg|aptitude-dpkg) apt-dpkg|aptitude-dpkg)
CMD="apt-cache rdepends" CMD="apt-cache rdepends"
......
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