mirror of
https://github.com/YunoHost-Apps/galette_ynh.git
synced 2024-09-03 18:36:28 +02:00
Update install
This commit is contained in:
parent
769810b1f9
commit
ca1bce5b74
1 changed files with 24 additions and 24 deletions
|
@ -131,36 +131,36 @@ ynh_use_logrotate
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if [[ "$path_url" == "/" ]]
|
# if [[ "$path_url" == "/" ]]
|
||||||
then
|
# then
|
||||||
# ynh panel is only comptable with non-root installation
|
# # ynh panel is only comptable with non-root installation
|
||||||
ynh_replace_string " include conf.d/" " #include conf.d/" "$finalnginxconf"
|
# ynh_replace_string " include conf.d/" " #include conf.d/" "$finalnginxconf"
|
||||||
else
|
# else
|
||||||
ynh_replace_string "^#sub_path_only" "" "$finalnginxconf"
|
# ynh_replace_string "^#sub_path_only" "" "$finalnginxconf"
|
||||||
fi
|
# fi
|
||||||
ynh_store_file_checksum "$finalnginxconf"
|
# ynh_store_file_checksum "$finalnginxconf"
|
||||||
|
|
||||||
if [ "$is_public" -eq 0 ]
|
# if [ "$is_public" -eq 0 ]
|
||||||
then # Remove the public access
|
# then # Remove the public access
|
||||||
ynh_app_setting_delete "$app" skipped_uris
|
# ynh_app_setting_delete "$app" skipped_uris
|
||||||
fi
|
# fi
|
||||||
# Make app public if necessary
|
# # Make app public if necessary
|
||||||
if [ "$is_public" -eq 1 ]
|
# if [ "$is_public" -eq 1 ]
|
||||||
then
|
# then
|
||||||
# unprotected_uris allows SSO credentials to be passed anyway.
|
# # unprotected_uris allows SSO credentials to be passed anyway.
|
||||||
ynh_app_setting_set "$app" skipped_uris "/"
|
# ynh_app_setting_set "$app" skipped_uris "/"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
||||||
|
|
||||||
# # Make app public if necessary or protect it
|
# Make app public if necessary or protect it
|
||||||
# if [ $is_public -eq 1 ]
|
if [ $is_public -eq 1 ]
|
||||||
# then
|
then
|
||||||
# ynh_permission_update --permission "main" --add "visitors"
|
ynh_permission_update --permission "main" --add "visitors"
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Reference in a new issue