1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Use quotes while storing string settings

This commit is contained in:
tituspijean 2021-11-12 09:33:47 +01:00
parent 0d00ce5c87
commit 79048640b2
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 10 additions and 10 deletions

View file

@ -53,13 +53,13 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
#=================================================
ynh_script_progression --message="Storing installation settings..."
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=language --value=$language
ynh_app_setting_set --app=$app --key=project_version --value=$project_version
ynh_app_setting_set --app=$app --key=core_version --value=$core_version
ynh_app_setting_set --app=$app --key=ldap_version --value=$ldap_version
ynh_app_setting_set --app=$app --key=domain --value="$domain"
ynh_app_setting_set --app=$app --key=path --value="$path_url"
ynh_app_setting_set --app=$app --key=admin --value="$admin"
ynh_app_setting_set --app=$app --key=language --value="$language"
ynh_app_setting_set --app=$app --key=project_version --value="$project_version"
ynh_app_setting_set --app=$app --key=core_version --value="$core_version"
ynh_app_setting_set --app=$app --key=ldap_version --value="$ldap_version"
#=================================================
# STANDARD MODIFICATIONS

View file

@ -240,9 +240,9 @@ pushd $final_path
popd
# Save version settings
ynh_app_setting_set $app project_version $project_version
ynh_app_setting_set $app core_version $core_version
ynh_app_setting_set $app ldap_version $ldap_version
ynh_app_setting_set $app project_version "$project_version"
ynh_app_setting_set $app core_version "$core_version"
ynh_app_setting_set $app ldap_version "$ldap_version"
#=================================================
# GENERIC FINALIZATION