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 #=================================================