From 89cba756975a728cb6ea0b70dbbbca57dd86de3a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 25 Jun 2021 16:22:50 +0200 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a66c224..5209f1b 100755 --- a/scripts/install +++ b/scripts/install @@ -142,9 +142,9 @@ 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',\ +ynh_replace_string --match_string="\$ffmpeg = FFMpeg::create();" --replace_string="\$ffmpeg = FFMpeg::create(array( \n + 'ffmpeg.binaries' => '/usr/bin/ffmpeg', \n + 'ffprobe.binaries' => '/usr/bin/ffprobe', \n ));" --target_file=$final_path//app/Actions/Photo/Extensions/VideoEditing.php #=================================================