]> git.ipfire.org Git - thirdparty/asterisk.git/commit
install_prereq: Check if is installed aptitude otherwise to install. 31/2431/1
authorRodrigo Ramírez Norambuena <decipher.hk@gmail.com>
Thu, 4 Jun 2015 01:12:50 +0000 (21:12 -0400)
committerKevin Harwell <kharwell@digium.com>
Thu, 17 Mar 2016 19:19:03 +0000 (14:19 -0500)
commitefcf9a96db6c40ea658f597714d0ff841ec0d412
treefbe9efa5583d2143a6f19eb7cccf5989cbbe0cd8
parentaeef52db9fdd8b48ba294f573580525e8bb96471
install_prereq: Check if is installed aptitude otherwise to install.

If in Debian or system based, dont have aptitude installed the script do
nothing. This patch checked if aptitude  installed, if not installed.

Also, if execute script with all packages installed yet, the script not show
nothing and return exit 1 because the command 'grep' get nothing from pipe from
'awk'.

ASTERISK-25113 #close
Reported By: Rodrigo Ramírez Norambuena <decipher.hk@gmail.com>

Change-Id: Iebdff55805d3917166e5e08e0a1e2176f36ff27f
(cherry picked from commit 6737ded0581a9e1256bdfe30c1d747e7ca93f8b3)
contrib/scripts/install_prereq