summarylogtreecommitdiffstats
path: root/gschemas.install
diff options
context:
space:
mode:
authorcarl.george2015-07-10 13:36:17 -0500
committercarl.george2015-07-10 13:36:17 -0500
commitbf72d7ab3e8f986ca9d232d66f4048a77a462381 (patch)
treebf20ac82706c5271aae53e449567895a679cdc8b /gschemas.install
parente491eeda0045095596b85197bc189b2e89ea336c (diff)
downloadaur-bf72d7ab3e8f986ca9d232d66f4048a77a462381.tar.gz
46-1
Diffstat (limited to 'gschemas.install')
-rw-r--r--gschemas.install20
1 files changed, 11 insertions, 9 deletions
diff --git a/gschemas.install b/gschemas.install
index 2656464bbbe2..4c2186853aec 100644
--- a/gschemas.install
+++ b/gschemas.install
@@ -1,20 +1,22 @@
+compile_schemas() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+}
+
+instructions() {
+ echo "Don't forget to restart GNOME Shell ([Alt]+[F2], r) and to enable extension with gnome-tweak-tool."
+}
+
post_install() {
- /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+ compile_schemas
instructions
}
post_upgrade() {
- /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+ compile_schemas
instructions
}
post_remove() {
- /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+ compile_schemas
}
-instructions() {
- /bin/cat << EOF
-Don't forget to restart GNOME Shell ([Alt]+[F2], r) and to enable extension
-with gnome-tweak-tool.
-EOF
-}