diff --git a/xbps-src b/xbps-src index 627d593d1b..476eb0ecbf 100755 --- a/xbps-src +++ b/xbps-src @@ -618,7 +618,7 @@ case "$XBPS_TARGET" in if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then chroot_handler $XBPS_TARGET $XBPS_TARGET_PKG else - [ -z "$XBPS_TEMP_MASTERDIR" ] && remove_pkg_autodeps + [ -z "$XBPS_TEMP_MASTERDIR" -a -z "$XBPS_SKIP_DEPS" ] && remove_pkg_autodeps $XBPS_LIBEXECDIR/build.sh $XBPS_TARGET_PKG $XBPS_TARGET_PKG \ $XBPS_TARGET $XBPS_CROSS_BUILD || exit $? fi