do a --force-yes for non-free packages

This commit is contained in:
Martin Konecny 2011-11-08 17:19:46 -05:00
parent b33ced99c8
commit 97b0807a67
1 changed files with 5 additions and 2 deletions

View File

@ -24,11 +24,14 @@ echo "----------------------------------------------------"
# Updated package list
apt-get -y install tar gzip curl apache2 php5-pgsql libapache2-mod-php5 \
php-pear php5-gd postgresql odbc-postgresql python2.6 lame libsoundtouch-ocaml \
libvorbis-ocaml-dev libmp3lame-dev libtaglib-ocaml libao-ocaml libmad-ocaml \
php-pear php5-gd postgresql odbc-postgresql python2.6 libsoundtouch-ocaml \
libvorbis-ocaml-dev libtaglib-ocaml libao-ocaml libmad-ocaml \
libesd0 icecast2 libportaudio2 libsamplerate0 libcamomile-ocaml-dev \
ecasound php5-curl mpg123 rabbitmq-server monit python-virtualenv patch
#install packages with --force-yes option
apt-get -y --force-yes libmp3lame-dev lame
if [ "$?" -ne "0" ]; then
echo ""
echo "There was a problem with apt-get. Please check the above error and try again."