Commit 3d400b7e authored by Vitaly Lipatov's avatar Vitaly Lipatov

query_file: fix for dirs

parent ebc274a3
...@@ -145,8 +145,8 @@ epm_query_file() ...@@ -145,8 +145,8 @@ epm_query_file()
# TODO: move to separate command? # TODO: move to separate command?
# FIXME: it is possible use query # FIXME: it is possible use query
if [ -n "$short" ] ; then if [ -n "$short" ] ; then
[ -n "$pkg_files" ] || fatal "Run query without file names (needed path to files)" [ -n "$pkg_files$pkg_dirs" ] || fatal "Run query without file names (needed path to files)"
__do_short_query $pkg_files __do_short_query $pkg_files $pkg_dirs
return return
fi fi
......
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