Commit bfaf8481 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small ArchLinux install/remove fixes

parent afadb851
...@@ -190,7 +190,9 @@ epm_install_files() ...@@ -190,7 +190,9 @@ epm_install_files()
sudocmd pkg_add $@ sudocmd pkg_add $@
return ;; return ;;
pacman) pacman)
sudocmd pacman -U --noconfirm $force $nodeps $@ sudocmd pacman -U --noconfirm $force $nodeps $@ && return
[ -n "$nodeps" ] && return
sudocmd pacman -U $force $@
return ;; return ;;
slackpkg) slackpkg)
sudocmd /sbin/installpkg $@ sudocmd /sbin/installpkg $@
......
...@@ -57,7 +57,7 @@ epm_release_upgrade() ...@@ -57,7 +57,7 @@ epm_release_upgrade()
docmd epm upgrade docmd epm upgrade
;; ;;
pacman) pacman)
#epm upgrade epm Upgrade
;; ;;
*) *)
fatal "Do not known command for $PMTYPE" fatal "Do not known command for $PMTYPE"
......
...@@ -67,7 +67,7 @@ epm_remove_names() ...@@ -67,7 +67,7 @@ epm_remove_names()
sudocmd emerge -aC $@ sudocmd emerge -aC $@
return ;; return ;;
pacman) pacman)
sudocmd pacman -Rs $@ sudocmd pacman -Rc $@
return ;; return ;;
yum-rpm) yum-rpm)
sudocmd yum remove $@ sudocmd yum remove $@
...@@ -107,7 +107,7 @@ epm_remove_nonint() ...@@ -107,7 +107,7 @@ epm_remove_nonint()
sudocmd urpme --auto $@ sudocmd urpme --auto $@
return ;; return ;;
pacman) pacman)
sudocmd pacman -Rs --noconfirm $@ sudocmd pacman -Rc --noconfirm $@
return ;; return ;;
yum-rpm) yum-rpm)
sudocmd yum -y remove $@ sudocmd yum -y remove $@
......
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