summarylogtreecommitdiffstats
path: root/device-chooser.install
blob: 05e5aef0514c81934e4ecd29d065a6fd2e1f3ce7 (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() {
	cat <<-EOT

	Restart GNOME Shell ([Alt]+[F2], r).
	Activate the extension with gnome-tweak-tool.

	EOT
}

instructions_upgrade() {
	cat <<-EOT

	Restart GNOME Shell ([Alt]+[F2], r) to load the upgraded extension.

	EOT
}