diff --git a/scripts/restore b/scripts/restore index cd1ea62..8aad9e9 100755 --- a/scripts/restore +++ b/scripts/restore @@ -43,6 +43,13 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +#================================================= +# 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 + #================================================= # GENERIC FINALIZATION #=================================================