mirror of
https://github.com/YunoHost-Apps/planka_ynh.git
synced 2024-09-03 20:06:00 +02:00
fix
This commit is contained in:
parent
5e79002b7a
commit
4e7d1e693f
2 changed files with 9 additions and 2 deletions
|
@ -15,6 +15,15 @@ timezone="$(cat /etc/timezone)"
|
||||||
firstname=$(yunohost user list --fields firstname --output-as json | jq -r .users.$admin.firstname)
|
firstname=$(yunohost user list --fields firstname --output-as json | jq -r .users.$admin.firstname)
|
||||||
lastname=$(yunohost user list --fields lastname --output-as json | jq -r .users.$admin.lastname)
|
lastname=$(yunohost user list --fields lastname --output-as json | jq -r .users.$admin.lastname)
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# STORE SETTINGS FROM MANIFEST
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Storing installation settings..." --weight=1
|
||||||
|
|
||||||
|
ynh_app_setting_set --app=$app --key=password --value="$password"
|
||||||
|
ynh_app_setting_set --app=$app --key=firstname --value=$firstname
|
||||||
|
ynh_app_setting_set --app=$app --key=lastname --value=$lastname
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -12,8 +12,6 @@ source /usr/share/yunohost/helpers
|
||||||
secret=$(ynh_string_random --length=50)
|
secret=$(ynh_string_random --length=50)
|
||||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
timezone="$(cat /etc/timezone)"
|
timezone="$(cat /etc/timezone)"
|
||||||
firstname=$(yunohost user list --fields firstname --output-as json | jq -r .users.$admin.firstname)
|
|
||||||
lastname=$(yunohost user list --fields lastname --output-as json | jq -r .users.$admin.lastname)
|
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue