diff --git a/helpers/make-evince b/helpers/make-evince index 1c80fea05bd94a7097fb278679a15e125e90c07d..1f9a8eda56d5a26751ab0fbd00fa3f6937ae9b6a 100644 --- a/helpers/make-evince +++ b/helpers/make-evince @@ -21,7 +21,15 @@ VERSION=1 . ./config -sed -i "/owner \/tmp\/evince-thumbnailer/d" debian/apparmor-profile +sed -i '$d' debian/apparmor-profile +cat << FIX >> debian/apparmor-profile + + # Add apparmon rule for mate's caja - LP#1798091 + owner /tmp/.mate_desktop_thumbnail* w, + owner /tmp/mate-desktop-thumbnailer* w + +} +FIX changelog "Fix LP #1798091 - no pdf thumbnails"