diff --git a/scripts/upgrade b/scripts/upgrade index 3a39c19..f34cccd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -102,7 +102,7 @@ then ynh_secure_remove --file="$final_path/app" ynh_secure_remove --file="$final_path/public/assets" # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env" fi chmod 750 "$final_path" @@ -135,11 +135,11 @@ ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_ #================================================= # CONFIGURE CASTOPOD #================================================= -ynh_script_progression --message="Configuring Castopod..." --weight=1 +# ynh_script_progression --message="Configuring Castopod..." --weight=1 -ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" -chmod 600 $final_path/.env -chown $app:www-data "$final_path/.env" +# ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" +# chmod 600 $final_path/.env +# chown $app:www-data "$final_path/.env" #================================================= # SETUP CRON