source: branches/2.2/doc-expressolivre/expressoInstall-es.sh @ 3665

Revision 3665, 3.1 KB checked in by niltonneto, 13 years ago (diff)

Ticket #1343 - Adicionadas as frases faltantes em espanhol nos demais módulos e pastas.

Line 
1Principal()
2{
3   clear;
4   cecho 1 44 "***************************************************************************";
5   cecho 1 44 "|Proyecto Expresso Livre                                                  |";
6   cecho 1 44 "| http://www.expressolivre.org                                            |";
7   cecho 1 44 "| Script Generico para instalación del ambiente Expresso Livre.           |";
8   cecho 1 44 "| Versión de Script 1.2 - Data 17/08/2009                                 |";
9   cecho 1 44 "| IMPORTANTE: LEA EL ARCHIVO README Y PREINSTALL ANTES DE INSTALAR!!!     |";
10   cecho 1 44 "| Cada script de cada distribuición posee su administrador                |";
11   cecho 1 44 "| Usted puede encontrar los creditos en cada instalador.                  |";   
12   cecho 1 44 "***************************************************************************";
13   echo   
14   cecho 33 1 "Seleccione su distribución Linux:"
15   echo
16   cecho 1 1 "1. Debian Sarge"
17   cecho 1 1 "2. Debian Etch (UTF-8)"
18   cecho 1 1 "3. Debian Etch (ISO-8859-1)"
19   cecho 1 1 "4. Debian Lenny (UTF-8)"
20   cecho 1 1 "5. SuSe 10.0"
21   cecho 1 1 "6. SuSe 10.1"
22   cecho 1 1 "7. CentOS 5"
23   cecho 1 1 "8. Red Hat Enterprise 5"   
24   cecho 1 1 "9. Salir del Script"
25   echo
26   cecho 32 1 "Escribe su opción y presione ENTER: " -n; read opcao;
27   case $opcao in
28     1) InstalarDebian_sarge;;
29     2) InstalarDebian_etch ;;
30     3) InstalarDebian_etch_iso ;;
31     4) InstalarDebian_lenny ;;
32     5) InstalarSuse_100 ;;
33     6) InstalarSuse_101 ;;
34     7) InstalarCentos_5 ;;
35     8) InstalarRH_E5 ;;
36     9) Fin;;
37     *) cecho 31 1 "Error: Opción inválida" ; sleep 1; clear; Principal;
38   esac
39}
40
41#       Función para imprimir colores
42#       $1 -> Numero de color del texto
43#       $2 -> Numero de color de fondo
44#       $3 -> Texto
45#       $4 -> Imprimir en la misma linea, use -n
46cecho(){
47        echo $4 -e "\e[$1;$2m $3";tput sgr0;
48}
49
50returnMain()
51{
52    cd ..;
53    cecho 31 1 "Pressione ENTER para regresar al menu principal" -n;
54    read a;
55    clear;
56    Principal
57}
58# Funcoes que invocam os respectivos scripts
59InstalarDebian_sarge()
60{
61        echo "Llamado el script para el Debian Sarge ...";
62    cd debian;./expressoInstallDebian-sarge.sh;
63        returnMain;
64}
65InstalarDebian_etch()
66{
67    echo "Llamando el script para el Debian Etch ...";
68    cd debian;./expressoInstallDebian-etch.sh;
69        returnMain;
70}
71InstalarDebian_etch_iso()
72{
73    echo "Llamando el script para Debian Etch (ISO-8859-1) ...";
74    cd debian;./expressoInstallDebian-etch-ISO8859-1.sh;
75        returnMain;
76}
77InstalarDebian_lenny()
78{
79    echo "Llamando el script para  Debian Etch ...";
80    cd debian;./expressoInstallDebian-lenny.sh;
81        returnMain;
82}
83InstalarSuse_100()
84{
85    echo "Llamando el script para  Suse 10.0 ...";
86    cd suse;./expressoInstallSuse10.0.sh;
87        returnMain;
88}
89InstalarSuse_101()
90{
91    echo "Llamando el script para  Suse 10.1 ...";
92    cd suse;./expressoInstallSuse10.1.sh;
93        returnMain;
94}
95InstalarCentos_5()
96{
97    echo "Llamando el script para  CentoOS ...";
98    cd rhel5-centos5;./expressoInstallCentos5.sh;
99        returnMain;
100}
101InstalarRH_E5()
102{
103    echo "Llamando el script para  Red Hat Enterprise 5 ...";
104    cd rhel5-centos5;./expressoInstallRHEL5.sh;
105        returnMain;
106}
107
108Fim()
109{
110 exit 0;
111}
112
113Principal
Note: See TracBrowser for help on using the repository browser.