Commit ec7a51e2 authored by Geoffrey Gekiere's avatar Geoffrey Gekiere

Merge branch 'master' of git.backbone.education:ggekiere/studiobox

parents 8d1edc5a f4d21653
#!/bin/sh
pip install pytz
pip install pydispatcher
desktop-image: "/isolinux/splash.png"
title-color: "#ffffff"
title-font: "DejaVu Sans Bold 16"
title-text: "StudioBox4"
message-font: "Unifont Regular 16"
terminal-font: "Unifont Regular 16"
#help bar at the bottom
+ label {
top = 100%-50
left = 0
width = 100%
height = 20
text = "@KEYMAP_SHORT@"
align = "center"
color = "#ffffff"
font = "DejaVu Sans Bold 14"
}
#boot menu
+ boot_menu {
left = 10%
width = 80%
top = 52%
height = 48%-80
item_color = "#a8a8a8"
item_font = "DejaVu Sans Bold 14"
selected_item_color= "#ffffff"
selected_item_font = "DejaVu Sans Bold 14"
item_height = 16
item_padding = 0
item_spacing = 4
icon_width = 0
icon_heigh = 0
item_icon_space = 0
}
#progress bar
+ progress_bar {
id = "__timeout__"
left = 15%
top = 100%-80
height = 16
width = 70%
font = "DejaVu Sans Regular 14"
text_color = "#000000"
fg_color = "#ffffff"
bg_color = "#a8a8a8"
border_color = "#ffffff"
text = "@TIMEOUT_NOTIFICATION_LONG@"
}
......@@ -10,19 +10,27 @@ then
rm /tmp/google.idx
fi
sed -i 's/stretch/jessie/' /etc/apt/sources.list
lxterminal -l -e 'aptitude update' | tee >(zenity --no-cancel --progress --pulsate --auto-close --title="Installation d'Airtime (1/3)" --text="Mise à jour du système" 2>/dev/null)
# décompression de l'archive airtime
cd /home/studiobox/Documents/
VERSIONAIRTIME=$(ls .*.tar.gz | grep ^.airtime | cut -d"." -f2-5)
# ménage en cas de réinstallation
if [ -d ".$VERSIONAIRTIME" ]; then
rm -rf .$VERSIONAIRTIME
fi
tar zxvf .$VERSIONAIRTIME.tar.gz
mv $VERSIONAIRTIME/ .$VERSIONAIRTIME/
cd .$VERSIONAIRTIME
cd /home/studiobox/Documents/.airtime
lxterminal -l -e 'dpkg -i *.deb' | tee >(zenity --no-cancel --progress --pulsate --auto-close --title="Installation d'Airtime (2/3)" --text="Installation des logiciels nécessaires (1/2)" 2>/dev/null)
lxterminal -l -e 'apt --fix-broken --assume-yes install' | tee >(zenity --no-cancel --progress --pulsate --auto-close --title="Installation d'Airtime (2/3)" --text="Installation des logiciels nécessaires (2/2)" 2>/dev/null)
#VERSIONAIRTIME=$(ls *.tar.gz | grep ^airtime | cut -d"-" -f2 | cut -d"." -f2-4)
## ménage en cas de réinstallation
#if [ -d "airtime-$VERSIONAIRTIME" ]; then
# rm -rf airtime-$VERSIONAIRTIME
#fi
#tar zxvf airtime-$VERSIONAIRTIME.tar.gz
cd airtime-2.5.2.1
mv installer/lib/requirements-debian-jessie.apt installer/lib/requirements-debian-stretch.apt
# lancement de l'installation
lxterminal -l -e './install -fpaid' | tee >(zenity --no-cancel --progress --pulsate --auto-close --title="Installation d'Airtime" --text="Installation en cours, merci de patienter..." 2>/dev/null)
lxterminal -l -e './install -fiap' | tee >(zenity --no-cancel --progress --pulsate --auto-close --title="Installation d'Airtime (3/3)" --text="Installation en cours, merci de patienter..." 2>/dev/null)
zenity --info --text="Une fenêtre de votre navigateur va se lancer pour\\
vous permettre de finaliser l'installation.\\
Faites défiler les boîtes de dialogue en laissant\\
......@@ -39,6 +47,9 @@ sed -i 's/'$portpostgres'/5432/' /etc/postgresql/9.4/main/postgresql.conf
fi
/etc/init.d/postgresql restart
sed -i 's/jessie/stretch' /etc/apt/sources.list
lxterminal -l -e 'aptitude update' | tee >(zenity --no-cancel --progress --pulsate --auto-close --title="Installation d'Airtime (3/3)" --text="Installation en cours, merci de patienter..." 2>/dev/null)
# finalisation de la configuration par l'utilisateur, dans firefox
sleep 2
FIREFOX=$(pgrep firefox)
......
......@@ -61,36 +61,36 @@ conky-all
tint2
# dépendances airtime
pwgen
python
python-pip
python-configobj
python-pyinotify
python-six
python-poster
python-mutagen
python-kombu
python-docopt
python-anyjson
python-amqp
python-amqplib
python-wsgiref
python-argparse
python-virtualenv
rabbitmq-server
php-pear
php-apcu
php
php-curl
php-gd
php-pgsql
postgresql
postgresql-client
libapache2-mod-php
php-zend-code
php-zend-eventmanager
php-zend-hydrator
php-zend-stdlib
#pwgen
#python
#python-pip
#python-configobj
#python-pyinotify
#python-six
#python-poster
#python-mutagen
#python-kombu
#python-docopt
#python-anyjson
#python-amqp
#python-amqplib
#python-wsgiref
#python-argparse
#python-virtualenv
#rabbitmq-server
#php-pear
#php-apcu
#php
#php-curl
#php-gd
#php-pgsql
#postgresql
#postgresql-client
#libapache2-mod-php
#php-zend-code
#php-zend-eventmanager
#php-zend-hydrator
#php-zend-stdlib
# système, utilitaires
console-data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment