Merge "[fix] Update hostdeps.sh to do a non-interactive apt install"
This commit is contained in:
commit
38de656c0d
@ -33,7 +33,10 @@ then
|
||||
done
|
||||
if [[ ${#added_pkgs[@]} -gt 0 ]]
|
||||
then
|
||||
apt install -y --no-install-recommends "${added_pkgs[@]}"
|
||||
DEBIAN_FRONTEND=noninteractive apt \
|
||||
-o Dpkg::Options::="--force-confdef" \
|
||||
-o Dpkg::Options::="--force-confold" \
|
||||
install -y --no-install-recommends "${added_pkgs[@]}"
|
||||
fi
|
||||
else
|
||||
echo "Only support testing on Ubuntu hosts at this time."
|
||||
|
Loading…
x
Reference in New Issue
Block a user