Commit bfaf8481 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small ArchLinux install/remove fixes

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