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

Update install

This commit is contained in:
Rafi59 2017-06-21 19:49:58 +02:00 committed by GitHub
parent 520baa1e37
commit 2c80a98f40

View file

@ -22,9 +22,8 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
# Source YunoHost helpers
source /usr/share/yunohost/helpers
source _common.sh
# Define variables
$src_path=/var/www/$app
# Save app settings
ynh_app_setting_set "$app" is_public "$is_public"
@ -59,7 +58,7 @@ sudo apt-get install -yy loolwsd code-brand
# Modify Nginx configuration file and copy it to Nginx conf directory
nginx_conf=../conf/nginx.conf
# sed -i "s@YNH_WWW_PATH@$path_url@g" $nginx_conf
sed -i "s@YNH_WWW_ALIAS@$src_path/@g" $nginx_conf
sed -i "s@YNH_WWW_ALIAS@$final_path/@g" $nginx_conf
# If a dedicated php-fpm process is used:
# Don't forget to modify ../conf/nginx.conf accordingly or your app will not work!
# sed -i "s@YNH_WWW_APP@$app@g" $nginx_conf