From fbf7c78be7c0d28fdf6cabe9c1faceb0b65a2ae0 Mon Sep 17 00:00:00 2001 From: chirac Date: Fri, 1 Sep 2017 23:41:56 +0200 Subject: [PATCH] Minor fix --- install_re2o.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_re2o.sh b/install_re2o.sh index 15c0d57a..9100bc15 100755 --- a/install_re2o.sh +++ b/install_re2o.sh @@ -234,7 +234,7 @@ echo "Application des migrations" python3 manage.py migrate echo "Collecte des statics" -python3 manage.py collectstatics +python3 manage.py collectstatic BACKTITLE="Fin de l'installation" TITLE="Serveur web à utiliser" @@ -289,6 +289,7 @@ sed -i 's/LE_PATH/'"$url_server"'/g' /etc/apache2/sites-available/re2o.conf else cp install_utils/apache2/re2o.conf /etc/apache2/sites-available/re2o.conf fi +rm /etc/apache2/sites-enabled/000-default.conf sed -i 's|URL_SERVER|'"$url_server"'|g' /etc/apache2/sites-available/re2o.conf current_path=$(pwd) sed -i 's|PATH|'"$current_path"'|g' /etc/apache2/sites-available/re2o.conf