Commit 91daab06 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-simulate: realize simulate for slackware

parent c66547c2
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
# #
load_helper epm-install load_helper epm-install
load_helper epm-search
epm_simulate() epm_simulate()
{ {
...@@ -50,8 +51,12 @@ epm_simulate() ...@@ -50,8 +51,12 @@ epm_simulate()
echo no | $SUDO pacman -v -S $filenames echo no | $SUDO pacman -v -S $filenames
return ;; return ;;
slackpkg) slackpkg)
docmd /usr/sbin/slackpkg -batch=on -default_answer=yes download #docmd /usr/sbin/slackpkg -batch=on -default_answer=yes download
;; # just try search every package
for i in $pkg_filenames ; do
pkg_filenames="$i-" epm_search | grep installed || return
done
return 0;;
*) *)
fatal "Do not known simulate command for $PMTYPE" fatal "Do not known simulate 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