/alcasar.sh |
---|
600,8 → 600,8 |
/usr/sbin/htdigest -c $DIR_DEST_ETC/digest/key_admin $HOSTNAME.$DOMAIN $admin_portal |
done |
$DIR_DEST_SBIN/alcasar-profil.sh --list |
else # mise à jour des versions < 2.8 |
if [ $MAJ_PREVIOUS_VERSION -lt 2 ] || ([ $MAJ_PREVIOUS_VERSION -eq 2 ] && [ $MIN_PREVIOUS_VERSION -lt 8 ]) |
else # mise à jour des versions < 2.1 |
if [ $MAJ_PREVIOUS_VERSION -lt 2 ] || ([ $MAJ_PREVIOUS_VERSION -eq 2 ] && [ $MIN_PREVIOUS_VERSION -lt 1 ]) |
then |
if [ $Lang == "fr" ] |
then |
/scripts/alcasar-conf.sh |
---|
88,7 → 88,7 |
# si version <= 2.8 |
if [ $MAJ_RUNNING_VERSION -lt 2 ] || ([ $MAJ_RUNNING_VERSION -eq 2 ] && [ $MIN_RUNNING_VERSION -lt 8 ]) |
then |
rm -rf $DIR_UPDATE/etc/digest # hostname=alcasar.$DOMAIN (add the domain name) |
$SED "s?alcasar?alcasar.$DOMAIN?g" $DIR_UPDATE/etc/digest/* # add the domainname to the hostname |
else |
# si version > 2.8 : sauvegarde des certificats (serveur et CA) |
cert_date=`/usr/bin/openssl x509 -noout -in /etc/pki/tls/certs/alcasar.crt -dates|grep After|cut -d"=" -f2` |