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

Update install

This commit is contained in:
ericgaspar 2022-03-12 23:43:50 +01:00
parent 7f7e5017b2
commit 6fbf09c43e
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -30,6 +30,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
registration=$YNH_APP_ARG_REGISTRATION registration=$YNH_APP_ARG_REGISTRATION
random_key=$(ynh_string_random 32) random_key=$(ynh_string_random 32)
phpversion=$YNH_PHP_VERSION phpversion=$YNH_PHP_VERSION
email=$(ynh_user_get_info --username=$admin --key=mail)
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -173,6 +174,7 @@ ynh_script_progression --message="Installing Kimai2..."
pushd "$final_path" pushd "$final_path"
ynh_exec_as $app php$phpversion bin/console kimai:install -n ynh_exec_as $app php$phpversion bin/console kimai:install -n
ynh_exec_as $app php$phpversion bin/console kimai:create-user $admin $email ROLE_SUPER_ADMIN -n
popd popd
#================================================= #=================================================