summaryrefslogtreecommitdiff
path: root/development/eagle/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/eagle/doinst.sh')
-rw-r--r--development/eagle/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/development/eagle/doinst.sh b/development/eagle/doinst.sh
index 5fb28930db..1252ea8d0a 100644
--- a/development/eagle/doinst.sh
+++ b/development/eagle/doinst.sh
@@ -1,3 +1,12 @@
+#!/bin/sh
+
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
+