xbps-src: remove dead code.
This commit is contained in:
parent
5b9d2f889b
commit
48423eb8fe
13
xbps-src
13
xbps-src
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue