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