[svn-commits] pabelanger: branch pabelanger/chroot-1.8 r354752 - /team/pabelanger/chroot-1....

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 9 16:14:51 CST 2012


Author: pabelanger
Date: Thu Feb  9 16:14:47 2012
New Revision: 354752

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=354752
Log:
more clean up for apt-get

Modified:
    team/pabelanger/chroot-1.8/contrib/scripts/install_prereq

Modified: team/pabelanger/chroot-1.8/contrib/scripts/install_prereq
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/chroot-1.8/contrib/scripts/install_prereq?view=diff&rev=354752&r1=354751&r2=354752
==============================================================================
--- team/pabelanger/chroot-1.8/contrib/scripts/install_prereq (original)
+++ team/pabelanger/chroot-1.8/contrib/scripts/install_prereq Thu Feb  9 16:14:47 2012
@@ -23,7 +23,7 @@
 # Asterisk: basic requirements:
 PACKAGES_DEBIAN="$PACKAGES_DEBIAN libncurses-dev libz-dev libssl-dev libxml2-dev"
 # Asterisk: for addons:
-PACKAGES_DEBIAN="$PACKAGES_DEBIAN libcurl-dev libspeex-dev libspeexdsp-dev libogg-dev libvorbis-dev libasound2-dev portaudio19-dev libcurl4-openssl-dev"
+PACKAGES_DEBIAN="$PACKAGES_DEBIAN libspeex-dev libspeexdsp-dev libogg-dev libvorbis-dev libasound2-dev portaudio19-dev libcurl4-openssl-dev"
 PACKAGES_DEBIAN="$PACKAGES_DEBIAN libpq-dev unixodbc-dev libsqlite0-dev libsqlite3-dev libmysqlclient15-dev libneon27-dev libgmime-dev libusb-dev liblua5.1-0-dev lua5.1"
 PACKAGES_DEBIAN="$PACKAGES_DEBIAN libopenh323-dev libvpb-dev libgtk2.0-dev libmysqlclient-dev libbluetooth-dev libradiusclient-ng-dev freetds-dev"
 PACKAGES_DEBIAN="$PACKAGES_DEBIAN libsnmp-dev libiksemel-dev libopenais-dev libnewt-dev libpopt-dev libical-dev libspandsp-dev libjack-dev"
@@ -50,11 +50,6 @@
   test "$testcmd" != ''
 }
 
-check_installed_debs() {
-	aptitude -F '%c %p' search "$@" 2>/dev/null \
-	| awk '/^p/{print $2}'
-}
-
 # parsing the output of yum is close to impossible.
 # We'll use rpm and hope for the best:
 check_installed_rpms() {
@@ -76,8 +71,6 @@
 }
 
 handle_debian() {
-	# echo "# Distribution is Debian or compatible"
-	#extra_packs=`check_installed_debs $PACKAGES_DEBIAN`
 	$testcmd apt-get install -y $PACKAGES_DEBIAN
 }
 




More information about the svn-commits mailing list