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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-01-04 19:21:19 +01:00
parent a2db6186a2
commit 200e283ede

View file

@ -167,12 +167,12 @@ ynh_add_nginx_config
#================================================= #=================================================
# UPDATE A CONFIG FILE # UPDATE A CONFIG FILE
#================================================= #=================================================
ynh_script_progression --message="Updating a configuration file..." #ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" #ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
chmod 400 "$final_path/.env" #chmod 400 "$final_path/.env"
chown $app:$app "$final_path/.env" #chown $app:$app "$final_path/.env"
#================================================= #=================================================
# INSTALL APP WITH COMPOSER # INSTALL APP WITH COMPOSER