Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1011 → Rev 1012

/scripts/alcasar-urpmi.sh
58,21 → 58,20
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"
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
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)."
fi
exit 1
fi
if [ "$DISTRIBUTION" == "Mandriva Linux" ]
then
echo "La migration automatique du système ne peut ê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
exit 1
fi
# We prefer wget than curl
urpmi --no-verify-rpm --auto conf/rpms/$ARCH/wget*.rpm
# Set the RPM repository