summarylogtreecommitdiffstats
path: root/gschemas.install
diff options
context:
space:
mode:
authorXZS2016-02-19 21:12:43 +0100
committerXZS2016-02-19 21:12:43 +0100
commitff1277f83afc65d5f1b9a1d4ec65bcca5c7adde2 (patch)
tree67b36ca4854447618b9c6eeba98603a0e559fd95 /gschemas.install
parent441e24e9a153eb104a773270118cb3a120a42e8c (diff)
downloadaur-ff1277f83afc65d5f1b9a1d4ec65bcca5c7adde2.tar.gz
adopt package to collection
This package is now again maintained as part of the collection of gnome-shell-extensions and related templates on GitHub. <https://github.com/dffischer/gnome-shell-extensions>
Diffstat (limited to 'gschemas.install')
-rw-r--r--gschemas.install24
1 files changed, 11 insertions, 13 deletions
diff --git a/gschemas.install b/gschemas.install
index 4c2186853aec..863897ad5436 100644
--- a/gschemas.install
+++ b/gschemas.install
@@ -1,22 +1,20 @@
-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() {
- compile_schemas
- instructions
+ instruct
+ echo "and enable the extension with gnome-tweak-tool."
}
post_upgrade() {
- compile_schemas
- instructions
+ instruct
+ echo "for the changes to have an effect."
}
post_remove() {
- compile_schemas
+ glib-compile-schemas usr/share/glib-2.0/schemas/
+}
+
+instruct() {
+ post_remove
+ echo "Don't forget to restart GNOME Shell ([Alt]+[F2], r)"
}
+# vim: ts=2 sw=2 et: