1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/webtrees_ynh.git synced 2024-09-03 18:26:37 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-04-27 18:31:57 +02:00
parent e7f7207048
commit 2f36df379a

View file

@ -15,6 +15,13 @@ source /usr/share/yunohost/helpers
password=$(ynh_string_random 24)
admin_password=$(openssl passwd -1 -salt xyz $password)
admin_username=$YNH_APP_ARG_USERNAME
admin_name=$YNH_APP_ARG_NAME
admin_email=$YNH_APP_ARG_EMAIL
ynh_app_setting_set --app=$app --key=admin_username --value=$admin_username
ynh_app_setting_set --app=$app --key=admin_name --value=$admin_name
ynh_app_setting_set --app=$app --key=admin_email --value=$admin_email
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE