1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-01-05 14:09:31 +01:00
parent 772b50d38e
commit adc86eeafb

View file

@ -195,10 +195,10 @@ pushd $final_path
php$phpversion artisan view:clear
popd
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"
#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"
chmod 750 "$final_path"
chmod 750 "$final_path/bootstrap/cache"