summaryrefslogtreecommitdiffstats
path: root/system/terminator/doinst.sh
diff options
context:
space:
mode:
author dsomero2012-09-30 18:58:05 +0200
committer Robby Workman2012-10-01 03:01:11 +0200
commit08a1b94855e9577be43b8ea841c5a493a0567875 (patch)
tree43372cdd0d3ddecc38e9b4cb2eecc60232f4bb12 /system/terminator/doinst.sh
parent644dd80ee6ec4d8556b903c84374b5baba151ccb (diff)
downloadslackbuilds-08a1b94855e9577be43b8ea841c5a493a0567875.tar.gz
system/terminator: Fixed (Handle desktop and icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/terminator/doinst.sh')
-rw-r--r--system/terminator/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/terminator/doinst.sh b/system/terminator/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/terminator/doinst.sh
@@ -0,0 +1,9 @@
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi