summarylogtreecommitdiffstats
path: root/gschemas.install
diff options
context:
space:
mode:
authormschubert2015-08-09 14:31:09 +0100
committermschubert2015-08-09 14:31:09 +0100
commit5076c371309ed075a0e2904748f839d7616faa11 (patch)
tree0e44ec0bc7aef4b093239b391ab1573f57d7873f /gschemas.install
downloadaur-5076c371309ed075a0e2904748f839d7616faa11.tar.gz
initial commit
Diffstat (limited to 'gschemas.install')
-rw-r--r--gschemas.install30
1 files changed, 30 insertions, 0 deletions
diff --git a/gschemas.install b/gschemas.install
new file mode 100644
index 000000000000..7f4546e45017
--- /dev/null
+++ b/gschemas.install
@@ -0,0 +1,30 @@
+post_install() {
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+ instructions_install
+}
+
+post_upgrade() {
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+ instructions_upgrade
+}
+
+post_remove() {
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+}
+
+instructions_install() {
+ /bin/cat << EOF
+
+Restart GNOME Shell ([Alt]+[F2], r).
+Activate the extension with gnome-tweak-tool.
+
+EOF
+}
+
+instructions_upgrade() {
+ /bin/cat << EOF
+
+Restart GNOME Shell ([Alt]+[F2], r) to load the upgraded extension.
+
+EOF
+}