Skip to content
Snippets Groups Projects
Commit 0c02d0a4 authored by Sylvain Afchain's avatar Sylvain Afchain Committed by Sean Bright
Browse files

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
parent 9688381f
No related branches found
No related tags found
No related merge requests found
...@@ -261,7 +261,7 @@ check_installed_zypper() { ...@@ -261,7 +261,7 @@ check_installed_zypper() {
handle_debian() { handle_debian() {
if ! [ -x "$(command -v aptitude)" ]; then if ! [ -x "$(command -v aptitude)" ]; then
apt-get install aptitude apt-get install -y aptitude
fi fi
extra_packs=`check_installed_debs $PACKAGES_DEBIAN` extra_packs=`check_installed_debs $PACKAGES_DEBIAN`
$testcmd aptitude update $testcmd aptitude update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment