summarylogtreecommitdiffstats
path: root/gschemas.install
diff options
context:
space:
mode:
Diffstat (limited to 'gschemas.install')
-rw-r--r--gschemas.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/gschemas.install b/gschemas.install
new file mode 100644
index 000000000000..1ca4a1686358
--- /dev/null
+++ b/gschemas.install
@@ -0,0 +1,18 @@
+# Installs the schema to the right folder so we can use the `gsettings`
+# commands to configure this plugin.
+
+post_install() {
+ recompile
+}
+
+post_upgrade() {
+ recompile
+}
+
+post_remove() {
+ recompile
+}
+
+recompile() {
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+}