Commit 7975e433 authored by Vitaly Lipatov's avatar Vitaly Lipatov

whatdepends/whatprovides: all use exists files as goals

parent a505655f
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
epm_whatdepends() epm_whatdepends()
{ {
local CMD local CMD
[ -n "$pkg_names" ] || fatal "Run query without names" [ -n "$pkg_filenames" ] || fatal "Run query without names"
# by package name # by package name
case $PMTYPE in case $PMTYPE in
...@@ -42,6 +42,6 @@ case $PMTYPE in ...@@ -42,6 +42,6 @@ case $PMTYPE in
;; ;;
esac esac
docmd $CMD $pkg_names docmd $CMD $pkg_filenames
} }
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
epm_whatprovides() epm_whatprovides()
{ {
local CMD local CMD
[ -n "$pkg_names" ] || fatal "Run query without names" [ -n "$pkg_filenames" ] || fatal "Run query without names"
# by package name # by package name
case $PMTYPE in case $PMTYPE in
...@@ -42,6 +42,6 @@ case $PMTYPE in ...@@ -42,6 +42,6 @@ case $PMTYPE in
;; ;;
esac esac
docmd $CMD $pkg_names docmd $CMD $pkg_filenames
} }
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