mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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:
parent
aa05629ef6
commit
dbe673e81c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user