Commit a98db7e3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

realize epm simulate for emerge

parent aa21e88f
...@@ -67,8 +67,14 @@ _epm_do_simulate() ...@@ -67,8 +67,14 @@ _epm_do_simulate()
CMD="zypper --non-interactive install" CMD="zypper --non-interactive install"
;; ;;
emerge) emerge)
echo "FIXME: Skip with emerge" local res=0
return ;; for pkg in $filenames ; do
is_installed $pkg && continue
docmd emerge --pretend $pkg && continue
pkg=1
break
done
return $res ;;
pacman) pacman)
showcmd $SUDO pacman -v -S $filenames showcmd $SUDO pacman -v -S $filenames
echo no | $SUDO pacman -v -S $filenames echo no | $SUDO pacman -v -S $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