Commit abe2428d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query: add todo

parent 9035d3f2
......@@ -18,6 +18,8 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
# TODO: combine with -qa (the difference only in return status now)
epm_query()
{
[ -n "$pkg_filenames" ] || fatal "Run query without names"
......@@ -28,6 +30,10 @@ case $PMTYPE in
;;
apt-dpkg)
CMD="dpkg -l"
# TODO: make rpm-like output
#showcmd dpkg -l $pkg_filenames
#dpkg -l $pkg_filenames | grep "^ii"
#return
;;
*)
fatal "Do not known command for $PMTYPE"
......
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