diff options
author | Earnestly | 2015-08-16 12:42:18 +0100 |
---|---|---|
committer | Earnestly | 2015-08-16 12:42:18 +0100 |
commit | 8c99e473f4705ca1df3416f0b0b612e56e0e90af (patch) | |
tree | c31db63f7cc60213e2412b7a195dcb82230dfa98 /gtk3.install | |
download | aur-8c99e473f4705ca1df3416f0b0b612e56e0e90af.tar.gz |
Add gtk3-optional-csd.
Diffstat (limited to 'gtk3.install')
-rw-r--r-- | gtk3.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk3.install b/gtk3.install new file mode 100644 index 000000000000..d2e16cb8814e --- /dev/null +++ b/gtk3.install @@ -0,0 +1,19 @@ +post_install() { + /usr/bin/gtk-query-immodules-3.0 --update-cache + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas + /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + printf 'Use GTK_CSD=1 to enable the CSD where the CSD can be used.\n' +} + +post_upgrade() { + post_install +} + +pre_remove() { + rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache +} + +post_remove() { + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas + /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} |