1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/omeka-s_ynh.git synced 2024-09-03 19:56:05 +02:00
This commit is contained in:
Éric Gaspar 2024-05-22 08:34:44 +02:00
parent f5c4cd19b3
commit db17bac96c
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ chown $app "$install_dir/config/database.ini"
#================================================= #=================================================
# TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION # TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION
#================================================= #=================================================
ynh_script_progression --message="Tweaking imagemagick conf to allow generation of thumbnails PDF" --weight=1 ynh_script_progression --message="Tweaking ImageMagick conf to allow generation of thumbnails PDF" --weight=1
sed -i 's/^\s*<policy.*PDF.*/<!--\0-->/g' /etc/ImageMagick-*/policy.xml sed -i 's/^\s*<policy.*PDF.*/<!--\0-->/g' /etc/ImageMagick-*/policy.xml

View file

@ -55,7 +55,7 @@ ynh_add_nginx_config
#================================================= #=================================================
# TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION # TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION
#================================================= #=================================================
ynh_script_progression --message="Tweaking imagemagick conf to allow generation of thumbnails PDF" --weight=1 ynh_script_progression --message="Tweaking ImageMagick conf to allow generation of thumbnails PDF" --weight=1
sed -i 's/^\s*<policy.*PDF.*/<!--\0-->/g' /etc/ImageMagick-*/policy.xml sed -i 's/^\s*<policy.*PDF.*/<!--\0-->/g' /etc/ImageMagick-*/policy.xml