xbps-src: make -K work when run_func returns an error.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user