mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
commit
9259f17e02
3 changed files with 1 additions and 14 deletions
13
.travis.yml
13
.travis.yml
|
@ -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"
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 85 KiB |
|
@ -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…
Reference in a new issue