common/xbps-src/shutils/build_dependencies.sh: convert to msg_normal

There remained two locations where the functionality of msg_normal was manually
implemented.
This commit is contained in:
0x5c 2023-02-19 22:44:09 -05:00 committed by classabbyamp
parent a0731f0e8f
commit 944ab17b06

View file

@ -410,22 +410,12 @@ install_pkg_deps() {
done
if [[ ${host_binpkg_deps} ]]; then
if [ -z "$XBPS_QUIET" ]; then
# normal messages in bold
[[ $NOCOLORS ]] || printf "\033[1m"
echo "=> $pkgver: installing host dependencies: ${host_binpkg_deps[@]} ..."
[[ $NOCOLORS ]] || printf "\033[m"
fi
msg_normal "$pkgver: installing host dependencies: ${host_binpkg_deps[*]} ...\n"
install_pkg_from_repos "" host "${host_binpkg_deps[@]}"
fi
if [[ ${binpkg_deps} ]]; then
if [ -z "$XBPS_QUIET" ]; then
# normal messages in bold
[[ $NOCOLORS ]] || printf "\033[1m"
echo "=> $pkgver: installing target dependencies: ${binpkg_deps[@]} ..."
[[ $NOCOLORS ]] || printf "\033[m"
fi
msg_normal "$pkgver: installing target dependencies: ${binpkg_deps[*]} ...\n"
install_pkg_from_repos "$cross" target "${binpkg_deps[@]}"
fi