66,14 → 66,11 |
fi |
if [ "$DISTRIBUTION" == "Mandriva" ] |
then |
if [ $CURRENT_VERSION != "2009.0" ] && [ $CURRENT_VERSION != "2009.1" ] && [ $CURRENT_VERSION != "2010.0" ] && [ $CURRENT_VERSION != "2010.1" ] && [ $CURRENT_VERSION != "2010.2" ] |
then |
echo "La migration automatique du système ne peut être réalisée." |
echo "Réalisez une mise à jour manuelle (cf. doc)." |
echo "The automatic system update can't perform." |
echo "Do a manual update (see doc)." |
exit 1 |
fi |
fi |
# We prefer wget than curl |
urpmi --no-verify-rpm --auto conf/rpms/$ARCH/wget*.rpm |