xbps-src: make -K work when run_func returns an error.

This commit is contained in:
Juan RP 2011-07-06 10:06:49 +02:00
parent 3d3ee4ac40
commit 86d0b0adcf
3 changed files with 2 additions and 11 deletions

View file

@ -30,15 +30,6 @@ install_pkg()
{
local curpkgn="$1" fullpkg pkg cdestdir
#
# If we are being invoked through the chroot, re-read config file
# to get correct stuff.
#
if [ -n "$IN_CHROOT" ]; then
check_config_vars
set_defvars
fi
# Remove automatic package dependencies if set.
autoremove_pkg_dependencies $KEEP_AUTODEPS