aboutsummaryrefslogtreecommitdiff
path: root/desktop/gtk-theme-Albatross/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-08-27 23:46:48 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:22:59 +0100
commit50500d925ccfd2772a23070990fe78400f64b8c3 (patch)
treecf51f6b9865ef52b093e049d260fb859e88c9087 /desktop/gtk-theme-Albatross/doinst.sh
parent196594d1d96174a32c5b9b6c7d030c7d5899a37c (diff)
desktop/gtk-theme-Albatross: Added (Desktop Suite for Xfce).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/gtk-theme-Albatross/doinst.sh')
-rw-r--r--desktop/gtk-theme-Albatross/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/gtk-theme-Albatross/doinst.sh b/desktop/gtk-theme-Albatross/doinst.sh
new file mode 100644
index 0000000000000..9424ce43ff572
--- /dev/null
+++ b/desktop/gtk-theme-Albatross/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi