Subversion Repositories ALCASAR

Rev

Rev 1007 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1007 Rev 1008
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-urpmi.sh 1007 2013-01-05 15:14:32Z richard $
2
# $Id: alcasar-urpmi.sh 1008 2013-01-05 23:13:33Z 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 62... Line 62...
62
	then
62
	then
63
	echo "le système installé n'est pas reconnu"
63
	echo "le système installé n'est pas reconnu"
64
	echo "the installed operating system is unknown"
64
	echo "the installed operating system is unknown"
65
	exit 1
65
	exit 1
66
fi
66
fi
67
if [ $DISTRIBUTION == "Mandriva" ]
67
if [ "$DISTRIBUTION" == "Mandriva" ]
68
then
68
then
69
	if [ $CURRENT_VERSION != "2009.0" ] && [ $CURRENT_VERSION != "2009.1" ] && [ $CURRENT_VERSION != "2010.0" ] && [ $CURRENT_VERSION != "2010.1" ] && [ $CURRENT_VERSION != "2010.2" ] 
69
	if [ $CURRENT_VERSION != "2009.0" ] && [ $CURRENT_VERSION != "2009.1" ] && [ $CURRENT_VERSION != "2010.0" ] && [ $CURRENT_VERSION != "2010.1" ] && [ $CURRENT_VERSION != "2010.2" ] 
70
	then
70
	then
71
	echo "La migration automatique du système ne peut être réalisée."
71
	echo "La migration automatique du système ne peut être réalisée."
72
	echo "Réalisez une mise à jour manuelle (cf. doc)."
72
	echo "Réalisez une mise à jour manuelle (cf. doc)."