summaryrefslogtreecommitdiff
path: root/repo/glib/glib.trigger
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
committerdavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
commitf99268f797c120a24030a573ef22813cd018beb5 (patch)
treeee18857a5eda7bc94286e3924dc2209aea7b92c4 /repo/glib/glib.trigger
parent95545d88b997a17ff03bb164af33c33e2a12d693 (diff)
Added unrar
Diffstat (limited to 'repo/glib/glib.trigger')
-rw-r--r--repo/glib/glib.trigger16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/glib/glib.trigger b/repo/glib/glib.trigger
new file mode 100644
index 0000000..e042aac
--- /dev/null
+++ b/repo/glib/glib.trigger
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+for i in "$@"; do
+ if ! [ -e "$i" ]; then
+ continue
+ fi
+ case "$i" in
+ */modules|*gtk-4.0)
+ /usr/bin/gio-querymodules "$i"
+ ;;
+ */schemas)
+ /usr/bin/glib-compile-schemas "$i"
+ ;;
+ esac
+done
+