1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/concrete5_ynh.git synced 2024-09-03 18:25:54 +02:00

Update install

This commit is contained in:
frju365 2017-03-03 19:29:22 +01:00 committed by GitHub
parent 2d531893e4
commit 58fa9ec744

View file

@ -138,7 +138,7 @@ sudo rm $final_path/install.php
nginxrootconf="../conf/nginx-root.conf" nginxrootconf="../conf/nginx-root.conf"
nginxconf="../conf/nginx.conf" nginxconf="../conf/nginx.conf"
if [ $path_url = "/" ]; then if [ $path_url = "/" ]; then
sed -i "s@YNH_WWW_ROOTPATH@@g" $nginxrootconf sed -i "s@ROOT_PATH@/var/www/$app@g" $nginxrootconf
sed -i "s@APP_URL@$domain$path_url@g" $nginxrootconf sed -i "s@APP_URL@$domain$path_url@g" $nginxrootconf
sudo chown root: $nginxrootconf sudo chown root: $nginxrootconf
sudo chmod 644 $nginxrootconf sudo chmod 644 $nginxrootconf