mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
fix #44 (new try)
This commit is contained in:
parent
d968dec4f6
commit
41fc572227
2 changed files with 4 additions and 5 deletions
|
@ -13,8 +13,8 @@ source /usr/share/yunohost/helpers
|
||||||
# LOAD SETTINGS
|
# LOAD SETTINGS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
admin=$(ynh_user_get_info --username=$admin --key=username)
|
weather_provider=$(ynh_app_setting_get --app=$app --key=$weather_provider)
|
||||||
admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
|
weather_key=$(ynh_app_setting_get --app=$app --key=$weather_key)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD UPGRADE STEPS
|
# STANDARD UPGRADE STEPS
|
||||||
|
|
|
@ -16,9 +16,8 @@ source /usr/share/yunohost/helpers
|
||||||
admin=$(ynh_user_get_info --username=$admin --key=username)
|
admin=$(ynh_user_get_info --username=$admin --key=username)
|
||||||
admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
|
admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=weather_provider --value=$weather_provider
|
weather_provider=$(ynh_app_setting_get --app=$app --key=$weather_provider)
|
||||||
ynh_app_setting_set --app=$app --key=weather_key --value=$weather_key
|
weather_key=$(ynh_app_setting_get --app=$app --key=$weather_key)
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
|
|
Loading…
Reference in a new issue