From 7ab05d1c06834394c3bc103687145eb4db232fa7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 25 Jun 2021 16:14:34 +0200 Subject: [PATCH] Update install --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index a35bb49..f12b1e7 100755 --- a/scripts/install +++ b/scripts/install @@ -142,6 +142,11 @@ popd # Setup custom user.css file 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 + #================================================= # SETUP SSOWAT #=================================================