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

Update install

This commit is contained in:
ericgaspar 2022-01-28 14:00:15 +01:00
parent 5a52c231fe
commit ce447cdb46
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -26,6 +26,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE language=$YNH_APP_ARG_LANGUAGE
phpversion=$YNH_PHP_VERSION phpversion=$YNH_PHP_VERSION
redis_db=$(ynh_redis_get_free_db) redis_db=$(ynh_redis_get_free_db)
mail_pwd=$(ynh_string_random --length=12)
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -116,8 +117,7 @@ ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_ar
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
mail_pwd=$(ynh_string_random --length=12)
ynh_add_config --template=../conf/.env.example --destination=$final_path/.env ynh_add_config --template=../conf/.env.example --destination=$final_path/.env
chmod 600 $final_path/.env chmod 600 $final_path/.env