summaryrefslogtreecommitdiffstats
path: root/development/postman/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/postman/doinst.sh')
-rw-r--r--development/postman/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/postman/doinst.sh b/development/postman/doinst.sh
index 39f9be1ff4..e69b296100 100644
--- a/development/postman/doinst.sh
+++ b/development/postman/doinst.sh
@@ -1,2 +1,12 @@
( cd usr/bin ; rm -rf postman )
( cd usr/bin ; ln -sf /opt/postman/app/Postman postman )
+
+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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi