Subversion Repositories ALCASAR

Compare Revisions

Regard whitespace Rev 1011 → Rev 1012

/scripts/alcasar-urpmi.sh
58,19 → 58,18
fi
done
IFS="$old"
if [ $unknown_os != 3 ]
if [[ ( $unknown_os != 3 || "$DISTRIBUTION" != "Mageia" ) && ( "$CURRENT_VERSION" != "2" ) ]]
then
echo "le système installé n'est pas reconnu"
echo "the installed operating system is unknown"
exit 1
fi
if [ "$DISTRIBUTION" == "Mandriva Linux" ]
echo "le système Linux installé n'est pas conforme. Installez Mageia2 (cf documentation d'installation)"
echo "the installed Linux operating system isn't conform. Install Mageia2 (see installation documentation)"
if [ -e /tmp/alcasar-conf.tar.gz ]
then
echo "La migration automatique du système ne peut être réalisée."
echo
echo "La migration automatique du système ne peut pas être réalisée."
echo "Récupérez le fichier /tmp/alcasar-conf.tar.gz et faites une mise à jour manuelle (cf. readme.txt)."
echo "The automatic system update can't perform."
echo "Retrieve the file /tmp/alcasar-conf.tar.gz and do a manual update (see readme.txt)."
ls -l /tmp
fi
exit 1
fi
# We prefer wget than curl