From: zuul Date: Thu, 17 Mar 2016 22:42:41 +0000 (-0500) Subject: Merge "install_prereq: Check if is installed aptitude otherwise to install." into 13 X-Git-Tag: 13.8.0-rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65ad76113033f7b18ae36a98e731c67fdade0d63;p=thirdparty%2Fasterisk.git Merge "install_prereq: Check if is installed aptitude otherwise to install." into 13 --- 65ad76113033f7b18ae36a98e731c67fdade0d63 diff --cc contrib/scripts/install_prereq index 0e6fbcf81a,f8d5c534d8..afad1f7196 --- a/contrib/scripts/install_prereq +++ b/contrib/scripts/install_prereq @@@ -96,8 -97,10 +97,11 @@@ check_installed_pkgs() } handle_debian() { + if ! [ -x "$(command -v aptitude)" ]; then + apt-get install aptitude + fi extra_packs=`check_installed_debs $PACKAGES_DEBIAN` + $testcmd aptitude update $testcmd aptitude install -y $extra_packs }