xbps-src: tar and xz are required in host system.

This commit is contained in:
Juan RP 2011-07-02 20:31:43 +02:00
parent f7823f199b
commit dd0579d967

View File

@ -34,11 +34,14 @@
: ${xbps_machine:=$(uname -m)}
: ${XBPS_UTILS_REQVER:=20100511}
# Required utilities in host system.
REQHOST_UTILS="gawk bash sed gcc msgfmt patch makeinfo perl fakeroot tar xz"
check_reqhost_utils()
{
[ -n "$in_chroot" ] && return 0
for f in gawk bash sed gcc msgfmt patch makeinfo perl fakeroot; do
for f in ${REQHOST_UTILS}; do
if ! command -v ${f} 2>&1 >/dev/null; then
echo "${f} is missing in your system, can't continue! exiting..."
exit 1