mirror of
https://github.com/YunoHost-Apps/omeka-s_ynh.git
synced 2024-09-03 19:56:05 +02:00
fix
This commit is contained in:
parent
f5c4cd19b3
commit
db17bac96c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue