use aptitude for debian based systems
authorMichiel van Baak <michiel@vanbaak.info>
Fri, 24 Jul 2009 14:35:49 +0000 (14:35 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Fri, 24 Jul 2009 14:35:49 +0000 (14:35 +0000)
commit3ee2e7566fde543be671e8edeba7420aca91641e
treeb34c32952f92006a55097f41aa50861128ea932c
parent347665503eb66e18a51adca50a36851d662ebd73
use aptitude for debian based systems

The function to check wether we need to install packages was using
dpkg-query which was gives wrong output on Debian 5

Also, the apt-get has been replaced with aptitude because aptitude
is now the preferred way to handle packages on Debian

(closes issue #15570)
Reported by: mvanbaak
Patches:
      2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
contrib/scripts/install_prereq