xbps-src: make -K and -C really work.

This commit is contained in:
Juan RP 2011-07-04 21:29:11 +02:00
parent 0ffa09c1b4
commit 24bad5c713
5 changed files with 14 additions and 18 deletions

View file

@ -40,7 +40,7 @@ install_pkg()
fi
# Remove automatic package dependencies if set.
autoremove_pkg_dependencies
autoremove_pkg_dependencies $KEEP_AUTODEPS
pkg="$curpkgn-$version"
[ -n "$INSTALLING_DEPS" ] && setup_tmpl $curpkgn
@ -167,7 +167,7 @@ install_pkg()
# Autoremove packages installed as dependencies if
# XBPS_PREFER_BINPKG_DEPS is set.
#
autoremove_pkg_dependencies
autoremove_pkg_dependencies $KEEP_AUTODEPS
return $?
}