diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3303710..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: php -before_script: - - git clone --depth 1 git://github.com/YunoHost/package_linter ../package_linter && cd ../package_linter - - mv ../hotspot_ynh hotspot_ynh -script: - - ./package_linter.py hotspot_ynh -notifications: - email: false - irc: - on_success: always - on_failure: always - channels: - - "irc.geeknode.org#labriqueinter.net-dev" diff --git a/screenshot.png b/screenshot.png deleted file mode 100644 index d8b4cdf..0000000 Binary files a/screenshot.png and /dev/null differ diff --git a/scripts/config b/scripts/config index 2ab89f4..78fa748 100644 --- a/scripts/config +++ b/scripts/config @@ -186,7 +186,7 @@ set__array_settings() { then value="" 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_print_info --message="Configuration key '$short_setting' edited in app settings" }