summaryrefslogtreecommitdiffstats
path: root/network/konversation/doinst.sh
diff options
context:
space:
mode:
author Michiel van Wessem2010-05-13 00:36:57 +0200
committer Erik Hanson2010-05-13 00:36:57 +0200
commitf517df9fc79666e2bfd37d5c2169061193f60c88 (patch)
treec6b5ce5072de4e7ecf90af4210c3c2aa076fdbcc /network/konversation/doinst.sh
parent6b0bec112ec5eef0b22a1fa5d94bdef096fc3e6c (diff)
downloadslackbuilds-f517df9fc79666e2bfd37d5c2169061193f60c88.tar.gz
network/konversation: Updated for version 1.2.1
Diffstat (limited to 'network/konversation/doinst.sh')
-rw-r--r--network/konversation/doinst.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/network/konversation/doinst.sh b/network/konversation/doinst.sh
index 77d8ff3f2c..1f8ff67ded 100644
--- a/network/konversation/doinst.sh
+++ b/network/konversation/doinst.sh
@@ -1,8 +1,10 @@
-#!/bin/sh
-
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+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