From 01d02d0e2c2e8b6caf2039289ea0d714c8f069a5 Mon Sep 17 00:00:00 2001 From: vincent-lucy Date: Wed, 15 May 2024 10:29:54 +0200 Subject: [PATCH] Update install: Tweaking imagemagick conf to allow generation of thumbnails PDF --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 0c4615d..8def79e 100755 --- a/scripts/install +++ b/scripts/install @@ -57,6 +57,13 @@ ynh_add_config --template="../conf/database.ini.default" --destination="$install chmod 400 "$install_dir/config/database.ini" chown $app "$install_dir/config/database.ini" +#================================================= +# TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION +#================================================= +ynh_script_progression --message="Tweaking imagemagick conf to allow generation of thumbnails PDF" --weight=1 + +sed -i 's/^\s*/g' /etc/ImageMagick-*/policy.xml + #================================================= # END OF SCRIPT #=================================================