Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1009 → Rev 1010

/alcasar.sh
594,7 → 594,7
done
$DIR_DEST_SBIN/alcasar-profil.sh --list
else # mise à jour des versions < 2.1
if [ $MAJ_RUNNING_VERSION -lt 2 ] || ([ $MAJ_RUNNING_VERSION -eq 2 ] && [ $MIN_RUNNING_VERSION -lt 1 ])
if [ $MAJ_PREVIOUS_VERSION -lt 2 ] || ([ $MAJ_PREVIOUS_VERSION -eq 2 ] && [ $MIN_PREVIOUS_VERSION -lt 1 ])
then
if [ $Lang == "fr" ]
then
1747,10 → 1747,6
fi
if [ -e $DIR_WEB/VERSION ]
then
RUNNING_VERSION=`cat $DIR_WEB/VERSION|cut -d" " -f1`
MAJ_RUNNING_VERSION=`echo $RUNNING_VERSION|cut -d"." -f1`
MIN_RUNNING_VERSION=`echo $RUNNING_VERSION|cut -d"." -f2|cut -c1`
UPD_RUNNING_VERSION=`echo $RUNNING_VERSION|cut -d"." -f3`
# Uninstall the running version
$DIR_SCRIPTS/sbin/alcasar-uninstall.sh
fi
1786,6 → 1782,10
# Extract the central configuration file
tar -xf /tmp/alcasar-conf.tar.gz conf/etc/alcasar.conf
ORGANISME=`grep ORGANISM conf/etc/alcasar.conf|cut -d"=" -f2`
PREVIOUS_VERSION=`grep VERSION conf/etc/alcasar.conf|cut -d"=" -f2`
MAJ_PREVIOUS_VERSION=`echo $PREVIOUS_VERSION|cut -d"." -f1`
MIN_PREVIOUS_VERSION=`echo $PREVIOUS_VERSION|cut -d"." -f2|cut -c1`
UPD_PREVIOUS_VERSION=`echo $PREVIOUS_VERSION|cut -d"." -f3`
mode="update"
else
mode="install"
/conf/blacklists.tar.gz
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/scripts/alcasar-urpmi.sh
64,13 → 64,14
echo "the installed operating system is unknown"
exit 1
fi
if [ "$DISTRIBUTION" == "Mandriva" ]
if [ "$DISTRIBUTION" == "Mandriva Linux" ]
then
echo "La migration automatique du système ne peut être réalisée."
echo "Réalisez une mise à jour manuelle (cf. doc)."
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 "Do a manual update (see doc)."
exit 1
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
/readme.txt
6,7 → 6,7
- New installation : Need the CD dual architecture (32b and 64b) of Linux Mageia2 (Mageia-2-dual-CD.iso).
--> Follow the installation documentation.
- Update an earlier version (see the §9.4 of the exploitation documentation) :
--> via the control center create and retrieve the "Alcacar-conf-archive.tar.gz" file
--> via the control center create and retrieve the last "Alcacar-conf.tar.gz" file
--> after the installation of the new Linux (mageia2), copy this file in the folder "/tmp" with the name "alcasar-conf.tar.gz"
--> download, extract and launch alcasar installation (like for a new installation)
 
15,7 → 15,7
- Nouvelle installation : elle s'effectue sur la base CD double architecture (32b et 64b) de Linux Mageia2 (Mageia-2-dual-CD.iso).
--> Suivez la procédure d'installation.
- mise à jour d'une ancienne version (voir le §9.4 de la doc d'exploitation) :
--> à partir du centre de control, créez et récupérez le fichier "alcasar-conf-archive.tar.gz"
--> à partir du centre de control, créez et récupérez le dernier fichier "alcasar-conf.tar.gz"
--> après avoir installé le nouveau system (mageia2), copiez ce fichier dans le répertoire "/tmp" sous le nom "alcasar-conf.tar.gz"
--> récupérez, désarchivez et lancez l'installation d'ALCASAR (comme pour une nouvelle installation)