ports/graphics/gdk-pixbuf2/files/gdk-pixbuf-query-loaders.ucl.in
Tobias C. Berner 190f1c6ff8 graphics/gdk-pixbuf2: fix trigger-leftovers
Reported by:	sunpoet
2022-03-30 20:16:21 +02:00

17 lines
417 B
Text

path: "%%PREFIX%%/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders"
cleanup: {
type: lua
sandbox: false
script: <<EOS
print("Removing gdk-pixbuf cache directory")
os.remove("%%PREFIX%%/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache")
EOS
}
trigger: {
type: lua
sandbox: false
script: <<EOS
print("Generating gdk-pixbuf modules cache")
pkg.exec({"%%PREFIX%%/bin/gdk-pixbuf-query-loaders", "--update-cache"})
EOS
}