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 01:36:26 +01:00 committed by GitHub
parent a3ddaed0f5
commit 083c05babe

View file

@ -138,8 +138,10 @@ sudo rm $final_path/install.php
nginxconf="../conf/nginx.conf"
if [ $path_url = "/" ]; then
sed -i "s@YNH_WWW_ROOTPATH@@g" ../conf/nginx.conf
sed -i "s@YNH_WWW_ROOTAPP@/@g" ../conf/nginx.conf
else
sed -i "s@YNH_WWW_ROOTPATH@$path_url@g" ../conf/nginx.conf
sed -i "s@YNH_WWW_ROOTAPP@$path_url$path_url@g" ../conf/nginx.conf
fi
sed -i "s@YNH_WWW_PATH@$path_url@g" $nginxconf
sed -i "s@YNH_WWW_FINALPATH@$final_path@g" $nginxconf