Subversion Repositories ALCASAR

Rev

Rev 1060 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1060 Rev 1062
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-urpmi.sh 1060 2013-03-31 18:10:30Z richard $
2
# $Id: alcasar-urpmi.sh 1062 2013-04-01 21:20:12Z richard $
3
 
3
 
4
# alcasar-urpmi.sh
4
# alcasar-urpmi.sh
5
# by 3abtux and Rexy
5
# by 3abtux and Rexy
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 66... Line 66...
66
if [[ ( $unknown_os != 3 || "$DISTRIBUTION" != "Mageia" ) && ( "$CURRENT_VERSION" != "2" ) ]]
66
if [[ ( $unknown_os != 3 || "$DISTRIBUTION" != "Mageia" ) && ( "$CURRENT_VERSION" != "2" ) ]]
67
then
67
then
68
	if [ $Lang == "fr" ]
68
	if [ $Lang == "fr" ]
69
	then	
69
	then	
70
		echo "La migration automatique d'ALCASAR ne peut pas être réalisée."
70
		echo "La migration automatique d'ALCASAR ne peut pas être réalisée."
71
		echo "Le système d'exploitation doit être remplacer"
71
		echo "Le système d'exploitation doit être remplacé"
72
	else
72
	else
73
		echo "The automatic update of ALCASAR can't be performed."
73
		echo "The automatic update of ALCASAR can't be performed."
74
		echo "The OS must be replaced"
74
		echo "The OS must be replaced"
75
	fi
75
	fi
76
	if [ -e /tmp/alcasar-conf.tar.gz ]
76
	if [ -e /tmp/alcasar-conf.tar.gz ]
Line 78... Line 78...
78
		echo
78
		echo
79
		if [ $Lang == "fr" ]
79
		if [ $Lang == "fr" ]
80
		then	
80
		then	
81
			echo "1 - Récupérez le fichier de configuration actuel (/tmp/alcasar-conf.tar.gz)."
81
			echo "1 - Récupérez le fichier de configuration actuel (/tmp/alcasar-conf.tar.gz)."
82
			echo "2 - Installez Linux-Mageia2 (cf. doc d'installation)"
82
			echo "2 - Installez Linux-Mageia2 (cf. doc d'installation)"
83
			echo "3 - copiez le fichier 'alcasar-conf.tar.gz' dans le répertoire '/tmp' avant de lancez l'installation d'ALCASAR"
83
			echo "3 - copiez le fichier 'alcasar-conf.tar.gz' dans le répertoire '/tmp' avant de lancer l'installation d'ALCASAR"
84
		else
84
		else
85
			echo "1 - Retrieve the configuration file (/tmp/alcasar-conf.tar.gz)"
85
			echo "1 - Retrieve the configuration file (/tmp/alcasar-conf.tar.gz)"
86
			echo "2 - Install Linux-Mageia2 (cf. installation doc)"
86
			echo "2 - Install Linux-Mageia2 (cf. installation doc)"
87
			echo "3 - Copy the file 'alcasar-conf.tar.gz' in the folder '/tmp' before launching the installation of ALCASAR"
87
			echo "3 - Copy the file 'alcasar-conf.tar.gz' in the folder '/tmp' before launching the installation of ALCASAR"
88
		fi
88
		fi