1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Merge commit 'licryle' into master

This commit is contained in:
Josué Tille 2018-08-20 22:34:47 +02:00
commit c46400ee29
3 changed files with 4 additions and 4 deletions

View file

@ -47,7 +47,7 @@ ynh_webpath_register "$app" "$domain" "$path_url"
#================================================= #=================================================
ynh_app_setting_set "$app" domain "$domain" ynh_app_setting_set "$app" domain "$domain"
ynh_app_setting_set "$app" path_url "$path_url" ynh_app_setting_set "$app" path "$path_url"
ynh_app_setting_set "$app" final_path "$final_path" ynh_app_setting_set "$app" final_path "$final_path"
#================================================= #=================================================

View file

@ -24,7 +24,7 @@ app=$YNH_APP_INSTANCE_NAME
# Retrieve arguments # Retrieve arguments
domain=$(ynh_app_setting_get "$app" domain) domain=$(ynh_app_setting_get "$app" domain)
path_url=$(ynh_app_setting_get "$app" path_url) path_url=$(ynh_app_setting_get "$app" path)
db_name=$(ynh_app_setting_get "$app" db_name) db_name=$(ynh_app_setting_get "$app" db_name)
db_pwd=$(ynh_app_setting_get "$app" mysqlpwd) db_pwd=$(ynh_app_setting_get "$app" mysqlpwd)
db_user=$app db_user=$app
@ -50,7 +50,7 @@ fi
# If path_url doesn't exist, create it # If path_url doesn't exist, create it
if [ -z "$path_url" ]; then if [ -z "$path_url" ]; then
path_url=$(ynh_app_setting_get "$app" path) path_url=$(ynh_app_setting_get "$app" path)
ynh_app_setting_set "$app" path_url "$final_path" ynh_app_setting_set "$app" path "$path_url"
ynh_app_setting_delete "$app" path ynh_app_setting_delete "$app" path
fi fi