git: 190f1c6ff806 - main - graphics/gdk-pixbuf2: fix trigger-leftovers

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 18:17:05 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=190f1c6ff806928c8c5ada9463715f525d902f47

commit 190f1c6ff806928c8c5ada9463715f525d902f47
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-03-30 18:09:38 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-03-30 18:16:21 +0000

    graphics/gdk-pixbuf2: fix trigger-leftovers
    
    Reported by:    sunpoet
---
 graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in | 2 +-
 graphics/gdk-pixbuf2/pkg-plist                             | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in b/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in
index eae70e206be9..d4b491f472c8 100644
--- a/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in
+++ b/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in
@@ -4,7 +4,7 @@ cleanup: {
 	sandbox: false
 	script: <<EOS
 print("Removing gdk-pixbuf cache directory")
-os.remove("%%PREFIX%%/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders")
+os.remove("%%PREFIX%%/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache")
 EOS
 }
 trigger: {
diff --git a/graphics/gdk-pixbuf2/pkg-plist b/graphics/gdk-pixbuf2/pkg-plist
index 02446f6ee862..ab6263401d57 100644
--- a/graphics/gdk-pixbuf2/pkg-plist
+++ b/graphics/gdk-pixbuf2/pkg-plist
@@ -152,3 +152,5 @@ share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo
 share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo
 share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo
 share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer
+@dir lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%
+@dir lib/gdk-pixbuf-2.0