summarylogtreecommitdiffstats
path: root/gschemas.install
blob: 7f4546e4501755695653cd32a5fe44f9528e02a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}