From 61af40cc003662e63ceffc16f3614622f48cf0f0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 17 Jan 2022 10:23:48 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 023f217..dbf9ab3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -104,7 +104,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=4 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --keep="$final_path/public/dist/user.css" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env $final_path/public/dist/user.css" fi chmod 750 "$final_path" @@ -148,7 +148,7 @@ ynh_install_composer --install_args="--ignore-platform-reqs" ynh_script_progression --message="Setting $app config..." # Setup application config -ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" +#ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" ynh_replace_string --match_string="\$ffmpeg = FFMpeg::create();" --replace_string="\$ffmpeg = FFMpeg::create(array(\ 'ffmpeg.binaries' => '/usr/bin/ffmpeg',\