mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
fix ssid with space character
This commit is contained in:
parent
5fe1149695
commit
0782d830f5
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ set__array_settings() {
|
||||||
then
|
then
|
||||||
value=""
|
value=""
|
||||||
fi
|
fi
|
||||||
local values="$(ynh_app_setting_get $app $short_setting | awk 'BEGIN{FS=OFS="|"} {$'$index'="'${!1}'"}'1)"
|
local values="$(ynh_app_setting_get $app $short_setting | awk "BEGIN{FS=OFS=\"|\"} {\$${index}=\"${value}\"}"1)"
|
||||||
ynh_app_setting_set --app=$app --key=$short_setting --value="$values"
|
ynh_app_setting_set --app=$app --key=$short_setting --value="$values"
|
||||||
ynh_print_info --message="Configuration key '$short_setting' edited in app settings"
|
ynh_print_info --message="Configuration key '$short_setting' edited in app settings"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue