xbps-src: be silent while checking for required host cmds.
This commit is contained in:
parent
6b30a5c01c
commit
4bdf2e615b
1 changed files with 0 additions and 3 deletions
|
@ -50,16 +50,13 @@ check_reqhost_utils()
|
||||||
{
|
{
|
||||||
[ -n "$in_chroot" ] && return 0
|
[ -n "$in_chroot" ] && return 0
|
||||||
|
|
||||||
echo -n "=> Checking for required host utilities... "
|
|
||||||
for f in awk bash sed gcc msgfmt patch makeinfo perl fakeroot \
|
for f in awk bash sed gcc msgfmt patch makeinfo perl fakeroot \
|
||||||
xbps-bin.static xbps-repo.static xbps-uhelper.static; do
|
xbps-bin.static xbps-repo.static xbps-uhelper.static; do
|
||||||
if ! command -v ${f} 2>&1 >/dev/null; then
|
if ! command -v ${f} 2>&1 >/dev/null; then
|
||||||
echo
|
|
||||||
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
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "done."
|
|
||||||
}
|
}
|
||||||
|
|
||||||
usage()
|
usage()
|
||||||
|
|
Loading…
Reference in a new issue