aboutsummaryrefslogtreecommitdiff
path: root/desktop/adapta-gtk-theme/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2018-04-29 17:42:18 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-01 22:01:19 +0100
commit8e6897d4a5096d4cd7678021d10ed0ab7ecbe87e (patch)
treebbab0611c99b2d96da9374660dfcf803b2fe3d90 /desktop/adapta-gtk-theme/doinst.sh
parent12a67ae7d539e8a180954932165fb7768fcfdb36 (diff)
desktop/adapta-gtk-theme: Added (Gtk+ theme).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/adapta-gtk-theme/doinst.sh')
-rw-r--r--desktop/adapta-gtk-theme/doinst.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/adapta-gtk-theme/doinst.sh b/desktop/adapta-gtk-theme/doinst.sh
new file mode 100644
index 0000000000000..401d9877955be
--- /dev/null
+++ b/desktop/adapta-gtk-theme/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi