install_prereq: Install aptitude non-interactively

Currently aptitude is installed using interactive mode. This patch
changes this to use the non-interactive mode as it can block
automatic dependencies installation, ex: CI, Docker build.

ASTERISK-28726 #close

Change-Id: I271ee00d230513a6f044810351a32d83b2181133
This commit is contained in:
Sylvain Afchain 2020-02-05 09:26:58 +01:00 committed by Sean Bright
parent 9688381f05
commit 0c02d0a450
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ check_installed_zypper() {
handle_debian() {
if ! [ -x "$(command -v aptitude)" ]; then
apt-get install aptitude
apt-get install -y aptitude
fi
extra_packs=`check_installed_debs $PACKAGES_DEBIAN`
$testcmd aptitude update