Commit fe1ee305 authored by Vitaly Lipatov's avatar Vitaly Lipatov

slackware: fix repo update, fix install pkg from file

parent 4cdedca1
......@@ -268,7 +268,10 @@ epm_install_files()
sudocmd pacman -U $force $@
return ;;
slackpkg)
sudocmd /sbin/installpkg $@
separate_installed $@
# FIXME: broken status when use batch and default answer
[ -n "$pkg_noninstalled" ] && sudocmd_foreach "/sbin/installpkg" $pkg_noninstalled
[ -n "$pkg_installed" ] && sudocmd_foreach "/sbin/upgradepkg" $pkg_installed
return ;;
esac
......
......@@ -52,7 +52,7 @@ case $PMTYPE in
sudocmd emerge --sync
;;
slackpkg)
sudocmd /usr/sbin/slackpkg update
sudocmd /usr/sbin/slackpkg -batch=on update
;;
deepsolver-rpm)
sudocmd ds-update
......
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