aboutsummaryrefslogtreecommitdiff
path: root/network/konversation/doinst.sh
diff options
context:
space:
mode:
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 77d8ff3f2c99b..1f8ff67dedb29 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