summaryrefslogtreecommitdiffstats
path: root/network/wireshark/doinst.sh
diff options
context:
space:
mode:
author Michiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:44:27 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-12 17:44:27 +0200
commita24e8290749e5fd7101ac1489137f277f5f160e8 (patch)
tree1365a4b178c69707c5be75d6d95605600cbfa92e /network/wireshark/doinst.sh
parentd9242b54e426e739c926157c87a2b6b0123628e9 (diff)
downloadslackbuilds-a24e8290749e5fd7101ac1489137f277f5f160e8.tar.gz
slackbuilds-a24e8290749e5fd7101ac1489137f277f5f160e8.tar.xz
network/wireshark: Updated for version 1.2.0
Diffstat (limited to 'network/wireshark/doinst.sh')
-rw-r--r--network/wireshark/doinst.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/network/wireshark/doinst.sh b/network/wireshark/doinst.sh
index b786824b98..fdfd4cef9c 100644
--- a/network/wireshark/doinst.sh
+++ b/network/wireshark/doinst.sh
@@ -1,3 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+ /usr/bin/update-desktop-database -q usr/share/applications
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
+