8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 15:12:25 +00:00

Minor fix

This commit is contained in:
chirac 2017-09-01 23:41:56 +02:00
parent cffcd66108
commit fbf7c78be7

View file

@ -234,7 +234,7 @@ echo "Application des migrations"
python3 manage.py migrate python3 manage.py migrate
echo "Collecte des statics" echo "Collecte des statics"
python3 manage.py collectstatics python3 manage.py collectstatic
BACKTITLE="Fin de l'installation" BACKTITLE="Fin de l'installation"
TITLE="Serveur web à utiliser" TITLE="Serveur web à utiliser"
@ -289,6 +289,7 @@ sed -i 's/LE_PATH/'"$url_server"'/g' /etc/apache2/sites-available/re2o.conf
else else
cp install_utils/apache2/re2o.conf /etc/apache2/sites-available/re2o.conf cp install_utils/apache2/re2o.conf /etc/apache2/sites-available/re2o.conf
fi fi
rm /etc/apache2/sites-enabled/000-default.conf
sed -i 's|URL_SERVER|'"$url_server"'|g' /etc/apache2/sites-available/re2o.conf sed -i 's|URL_SERVER|'"$url_server"'|g' /etc/apache2/sites-available/re2o.conf
current_path=$(pwd) current_path=$(pwd)
sed -i 's|PATH|'"$current_path"'|g' /etc/apache2/sites-available/re2o.conf sed -i 's|PATH|'"$current_path"'|g' /etc/apache2/sites-available/re2o.conf