mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
Update install
This commit is contained in:
parent
3db23f1dbc
commit
aba029036e
1 changed files with 8 additions and 19 deletions
|
@ -107,7 +107,7 @@ ynh_add_fpm_config
|
||||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
|
|
||||||
# copy index file
|
# copy index file
|
||||||
#cp ../conf/index.php $final_path/
|
cp ../conf/index.php $final_path/
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -120,29 +120,18 @@ ynh_add_config --template="../conf/config-sample.php" --destination="$final_path
|
||||||
chmod 600 "$final_path/user/config.php"
|
chmod 600 "$final_path/user/config.php"
|
||||||
chown $app:$app "$final_path/user/config.php"
|
chown $app:$app "$final_path/user/config.php"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SETUP SSOWAT
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Configuring permissions..." --weight=1
|
|
||||||
|
|
||||||
# unprotected_uris allows SSO credentials to be passed anyway.
|
|
||||||
ynh_permission_update --permission="main" --add="visitors"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP APPLICATION WITH CURL
|
# SETUP APPLICATION WITH CURL
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# # Set the app as temporarily public for curl call
|
# Set the app as temporarily public for curl call
|
||||||
# ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
||||||
# # Making the app public for curl
|
# Making the app public for curl
|
||||||
# ynh_permission_update --permission="main" --add="visitors"
|
ynh_permission_update --permission="main" --add="visitors"
|
||||||
|
|
||||||
# # Installation with curl
|
# Installation with curl
|
||||||
# ynh_script_progression --message="Finalizing installation..." --weight=1
|
ynh_script_progression --message="Finalizing installation..." --weight=1
|
||||||
# ynh_local_curl "admin/install.php" "install=dummy"
|
ynh_local_curl "admin/install.php" "install=dummy"
|
||||||
|
|
||||||
# # Remove the public access
|
|
||||||
# ynh_permission_update --permission="main" --remove="visitors"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Reference in a new issue