Commit cc88bcf1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-install: allow nodeps and force to pacman commands

parent 4b6d2d30
...@@ -70,7 +70,7 @@ epm_install_names() ...@@ -70,7 +70,7 @@ epm_install_names()
sudocmd emerge -uD $@ sudocmd emerge -uD $@
return ;; return ;;
pacman) pacman)
sudocmd pacman -S $@ sudocmd pacman -S $force $nodeps $@
return ;; return ;;
yum-rpm) yum-rpm)
sudocmd yum $YUMOPTIONS install $@ sudocmd yum $YUMOPTIONS install $@
...@@ -116,7 +116,7 @@ epm_ni_install_names() ...@@ -116,7 +116,7 @@ epm_ni_install_names()
sudocmd pkg_add -r $@ sudocmd pkg_add -r $@
return ;; return ;;
pacman) pacman)
sudocmd pacman -S --noconfirm $@ sudocmd pacman -S --noconfirm $force $nodeps $@
return ;; return ;;
npackd) npackd)
# npackdcl update --package=<package> (remove old and install new) # npackdcl update --package=<package> (remove old and install new)
...@@ -190,7 +190,7 @@ epm_install_files() ...@@ -190,7 +190,7 @@ epm_install_files()
sudocmd pkg_add $@ sudocmd pkg_add $@
return ;; return ;;
pacman) pacman)
sudocmd pacman -U --noconfirm $@ sudocmd pacman -U --noconfirm $force $nodeps $@
return ;; return ;;
slackpkg) slackpkg)
sudocmd /sbin/installpkg $@ sudocmd /sbin/installpkg $@
...@@ -214,7 +214,7 @@ epm_print_install_command() ...@@ -214,7 +214,7 @@ epm_print_install_command()
echo "pkg_add $@" echo "pkg_add $@"
;; ;;
pacman) pacman)
echo "pacman -U --noconfirm $@" echo "pacman -U --noconfirm --force $nodeps $@"
;; ;;
slackpkg) slackpkg)
echo "/sbin/installpkg $@" echo "/sbin/installpkg $@"
......
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