do a --force-yes for non-free packages
This commit is contained in:
parent
b33ced99c8
commit
97b0807a67
|
@ -24,11 +24,14 @@ echo "----------------------------------------------------"
|
||||||
|
|
||||||
# Updated package list
|
# Updated package list
|
||||||
apt-get -y install tar gzip curl apache2 php5-pgsql libapache2-mod-php5 \
|
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 \
|
php-pear php5-gd postgresql odbc-postgresql python2.6 libsoundtouch-ocaml \
|
||||||
libvorbis-ocaml-dev libmp3lame-dev libtaglib-ocaml libao-ocaml libmad-ocaml \
|
libvorbis-ocaml-dev libtaglib-ocaml libao-ocaml libmad-ocaml \
|
||||||
libesd0 icecast2 libportaudio2 libsamplerate0 libcamomile-ocaml-dev \
|
libesd0 icecast2 libportaudio2 libsamplerate0 libcamomile-ocaml-dev \
|
||||||
ecasound php5-curl mpg123 rabbitmq-server monit python-virtualenv patch
|
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
|
if [ "$?" -ne "0" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "There was a problem with apt-get. Please check the above error and try again."
|
echo "There was a problem with apt-get. Please check the above error and try again."
|
||||||
|
|
Loading…
Reference in New Issue