From de6a5c512cfc3337b948dd5018f8c2fedbf27873 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 14 Dec 2015 15:13:19 +0100 Subject: -nowayland stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- gtk3-nobroadway-nowayland-nocolord/gtk3.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gtk3-nobroadway-nowayland-nocolord/gtk3.install (limited to 'gtk3-nobroadway-nowayland-nocolord/gtk3.install') diff --git a/gtk3-nobroadway-nowayland-nocolord/gtk3.install b/gtk3-nobroadway-nowayland-nocolord/gtk3.install new file mode 100644 index 0000000..f57b1bf --- /dev/null +++ b/gtk3-nobroadway-nowayland-nocolord/gtk3.install @@ -0,0 +1,18 @@ +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 +} + +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 +} -- cgit v1.2.3-70-g09d2