- Added new ola repository to install_wheezy
modified: scripts/install_wheezy.sh
This commit is contained in:
parent
d5e80370fe
commit
a9af009028
1 changed files with 11 additions and 3 deletions
|
@ -8,11 +8,19 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Comprobamos root
|
# Comprobamos root
|
||||||
(( EUID )) && echo ‘You need to be root.’ && exit 1
|
(( EUID )) && echo ‘You need to be root.’ && exit 1
|
||||||
#Instalamos el paquete suministrado con el release
|
# Instalamos OLA desde el repositorio del proyecto
|
||||||
dpkg -i ola_0.8.26-1_i386.deb
|
# copia de seguridad de sources.list
|
||||||
|
cp /etc/apt/sources.list /etc/apt/sources.list.old
|
||||||
|
# Comprobamos que el repositorio no está en soucers.list
|
||||||
|
output=`grep apt.openlighting.org /etc/apt/sources.list | wc -l`
|
||||||
|
if [ "$output" -eq "0" ]; then
|
||||||
|
#Añadimos el repositorio ola a sources.list
|
||||||
|
echo "deb http://apt.openlighting.org/debian/ wheezy main" >> /etc/apt/sources.list
|
||||||
|
fi
|
||||||
|
apt-get update
|
||||||
# Install Pure Data y OLA
|
# Install Pure Data y OLA
|
||||||
# libav para generar thumbs
|
# libav para generar thumbs
|
||||||
apt-get -y --force-yes install libqtcore4 libqtgui4 libqtwebkit4 libqt4-script libqt4-network libmagick++5 libav-tools libftgl2 libavifile-0.7c2 libgmerlin-avdec1 libmpeg3-1 libquicktime2
|
apt-get -y --force-yes install ola libqtcore4 libqtgui4 libqtwebkit4 libqt4-script libqt4-network libmagick++5 libav-tools libftgl2 libavifile-0.7c2 libgmerlin-avdec1 libmpeg3-1 libquicktime2
|
||||||
if [ "$?" -eq "0" ]; then
|
if [ "$?" -eq "0" ]; then
|
||||||
echo "apt-get finish ok"
|
echo "apt-get finish ok"
|
||||||
else "apt-get return errors!"
|
else "apt-get return errors!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue