lms-video/scripts/install_squeeze.sh
Santi Noreña e85d191b46 - Reestructuración de ficheros y directorios general
- merge v0.01 --> Añadido fileselector
- Añadidas fuentes de Gem y Pure Data
- pix2jpg incluído en Gem. Archivos de construcción de Gem modificados.
- Añadido fichero ompiling.txt con instrucciones de compilación
2013-02-04 18:00:17 +01:00

28 lines
987 B
Bash
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
##############################################################################
# Script de instalación de las dependencias de Pure Media Server
# en Debian Squeeze.
# Necesita root para ejecutar
# (c) 2012 Santi Noreña
# GPL License
###############################################################################
# Comprobamos root
(( EUID )) && echo You need to be root. && exit 1
# Instalamos OLA desde el repositorio del proyecto
# 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/ squeeze main" >> /etc/apt/sources.list
fi
apt-get update
apt-get -y install ola puredata tcl tk pd-zexy
if [ "$?" -eq "0" ]; then
echo "apt-get finish ok"
else "apt-get return errors!"
fi