Commit c0ec2b12 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query_file: add slackware support (thanks, bormant)

parent 913e60e3
...@@ -83,6 +83,11 @@ __do_query() ...@@ -83,6 +83,11 @@ __do_query()
pacman) pacman)
CMD="pacman -Qo" CMD="pacman -Qo"
;; ;;
slackpkg)
# note: need remove leading slash for grep
docmd grep -R "$(echo $@ | sed -e 's|^/\+||g')" /var/log/packages
return
;;
*) *)
fatal "Do not known query command for $PMTYPE" fatal "Do not known query 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