From ff7f1ccbd9904596dcfdfe9ecacbe8bfac207caf Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 25 Jun 2021 16:52:34 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index fccb8aa..884d63d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -144,6 +144,11 @@ ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env ynh_add_config --template="../conf/user.css.example" --destination="$final_path/public/dist/user.css" +ynh_replace_string --match_string="\$ffmpeg = FFMpeg::create();" --replace_string="\$ffmpeg = FFMpeg::create(array(\ + 'ffmpeg.binaries' => '/usr/bin/ffmpeg',\ + 'ffprobe.binaries' => '/usr/bin/ffprobe',\ +));" --target_file="$final_path/app/Actions/Photo/Extensions/VideoEditing.php" + #================================================= # INSTALL AND INITIALIZE COMPOSER #=================================================