- Install scripts added dependencies and bugfix
This commit is contained in:
parent
1534cece64
commit
475651f2f5
2 changed files with 16 additions and 10 deletions
6
scripts/install_precise.sh
Normal file → Executable file
6
scripts/install_precise.sh
Normal file → Executable file
|
@ -15,12 +15,12 @@ cp /etc/apt/sources.list /etc/apt/sources.list.old
|
||||||
output=`grep apt.openlighting.org /etc/apt/sources.list | wc -l`
|
output=`grep apt.openlighting.org /etc/apt/sources.list | wc -l`
|
||||||
if [ "$output" -eq "0" ]; then
|
if [ "$output" -eq "0" ]; then
|
||||||
#Añadimos el repositorio ola a sources.list
|
#Añadimos el repositorio ola a sources.list
|
||||||
echo "deb http://apt.openlighting.org/debian/ precise main" >> /etc/apt/sources.list
|
echo "deb http://apt.openlighting.org/ubuntu/ precise main" >> /etc/apt/sources.list
|
||||||
fi
|
fi
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y --force-yes install ola libqtcore4 libqtgui4 libmacgick++4 libav-tools
|
apt-get -y --force-yes install ola libqtcore4 libqtgui4 libmagick++4 libav-tools libftgl2 libavifile-0.7c2 libgmerlin-avdec1 libmpeg3-1
|
||||||
if [ "$?" -eq "0" ]; then
|
if [ "$?" -eq "0" ]; then
|
||||||
echo "apt-get finish ok"
|
echo "apt-get finish ok"
|
||||||
else "apt-get return errors!"
|
else echo "apt-get return errors!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -8,13 +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
|
||||||
# Install Pure Data y OLA
|
cp /etc/apt/sources.list /etc/apt/sources.list.old
|
||||||
# libav para generar thumbs
|
# Comprobamos que el repositorio no está en soucers.list
|
||||||
apt-get -y --force-yes install libav-tools libqtcore4 libqtgui4 libmagick++5
|
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
|
||||||
|
apt-get -y --force-yes install ola libav-tools libqtcore4 libqtgui4 libqt4-script libqtwebkit4 libftgl2 libmagick++5 tcl tk
|
||||||
if [ "$?" -eq "0" ]; then
|
if [ "$?" -eq "0" ]; then
|
||||||
echo "apt-get finish ok"
|
echo "apt-get finish ok"
|
||||||
else "apt-get return errors!"
|
else echo "apt-get return errors!"
|
||||||
fi
|
fi
|
||||||
apt-get -f install
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue