mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
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:
parent
a0731f0e8f
commit
944ab17b06
1 changed files with 2 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue