1
0
Fork 0
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:
Thomas 2023-12-04 20:16:42 +01:00 committed by GitHub
parent d968dec4f6
commit 41fc572227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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