mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
xbps-src: tar and xz are required in host system.
This commit is contained in:
parent
f7823f199b
commit
dd0579d967
1 changed files with 4 additions and 1 deletions
|
@ -34,11 +34,14 @@
|
||||||
: ${xbps_machine:=$(uname -m)}
|
: ${xbps_machine:=$(uname -m)}
|
||||||
: ${XBPS_UTILS_REQVER:=20100511}
|
: ${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()
|
check_reqhost_utils()
|
||||||
{
|
{
|
||||||
[ -n "$in_chroot" ] && return 0
|
[ -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
|
if ! command -v ${f} 2>&1 >/dev/null; then
|
||||||
echo "${f} is missing in your system, can't continue! exiting..."
|
echo "${f} is missing in your system, can't continue! exiting..."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue