xbps-src: make remove target respect bootstrap setting.

This commit is contained in:
Juan RP 2011-07-06 11:29:38 +02:00
parent 341432f1fb
commit 8b3b96182e

View file

@ -458,8 +458,7 @@ remove)
_pkgname=$(basename_cwd)
fi
setup_tmpl ${_pkgname}
if [ -z "$IN_CHROOT" -a -z "$bootstrap" \
-a -z "$BOOTSTRAP_PKG_REBUILD" ]; then
if [ -z "$IN_CHROOT" -a -z "$bootstrap" ]; then
. $XBPS_SHUTILSDIR/chroot.sh
xbps_chroot_handler $target ${_pkgname}
else