xbps-src: remove dead code.

This commit is contained in:
Juan RP 2014-11-18 06:23:27 +01:00
parent 5b9d2f889b
commit 48423eb8fe

View file

@ -305,7 +305,6 @@ read_pkg() {
}
readonly XBPS_VERSION_REQ="0.41"
readonly XBPS_VERSION=$(xbps-uhelper -V|awk '{print $2}')
readonly XBPS_SRC_VERSION="113"
export XBPS_MACHINE=$(uname -m)
@ -500,18 +499,6 @@ else
fi
fi
if [ -z "$CHROOT_READY" ]; then
if [ -n "$BASE_CHROOT_REQ" ]; then
check_installed_pkg base-chroot-$BASE_CHROOT_REQ
if [ $? -eq 0 ]; then
# Prepare chroot if required base-chroot pkg is installed.
msg_normal "Preparing chroot on $XBPS_MASTERDIR...\n"
chroot_prepare || return $?
export CHROOT_READY=1
fi
fi
fi
check_build_requirements
trap 'exit_func' INT TERM