Tools:install-prereqs-ubuntu.sh use $APT_GET for pkg-config

While writing a script to automate dev env install locally I notice this is not abiding by the $ASSUME_YES like the other apt-get install commands.
This commit is contained in:
nkruzan 2021-09-29 10:37:09 -05:00 committed by Peter Barker
parent aa05629ef6
commit dbe673e81c
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ fi
if [ "$ARM_PKG_CONFIG_NOT_PRESENT" -eq 1 ]; then
INSTALL_PKG_CONFIG=""
# No need to install Ubuntu's pkg-config-arm-linux-gnueabihf, instead install the base pkg-config.
sudo apt-get install pkg-config
$APT_GET install pkg-config
if [ -f /usr/share/pkg-config-crosswrapper ]; then
# We are on non-Ubuntu so simulate effect of installing pkg-config-arm-linux-gnueabihf.
sudo ln -s /usr/share/pkg-config-crosswrapper /usr/bin/arm-linux-gnueabihf-pkg-config