summaryrefslogtreecommitdiff
path: root/network/wireshark/doinst.sh
diff options
context:
space:
mode:
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
+