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() ...@@ -268,7 +268,10 @@ epm_install_files()
sudocmd pacman -U $force $@ sudocmd pacman -U $force $@
return ;; return ;;
slackpkg) 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 ;; return ;;
esac esac
......
...@@ -52,7 +52,7 @@ case $PMTYPE in ...@@ -52,7 +52,7 @@ case $PMTYPE in
sudocmd emerge --sync sudocmd emerge --sync
;; ;;
slackpkg) slackpkg)
sudocmd /usr/sbin/slackpkg update sudocmd /usr/sbin/slackpkg -batch=on update
;; ;;
deepsolver-rpm) deepsolver-rpm)
sudocmd ds-update 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