aboutsummaryrefslogtreecommitdiff
path: root/graphics/teighafileconverter/doinst.sh
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-08-12 00:43:11 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-12 00:43:11 -0500
commitd7f10e9144a21e297eecc66c74369db29344c3d5 (patch)
tree29293ed8dcb5c3d8aaf09ef892aab0c90dc2c71c /graphics/teighafileconverter/doinst.sh
parent383bdf909b7929a2f2d6fe6fe661a66df65fb183 (diff)
graphics/teighafileconverter: Added (DWG and DXF file converter)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/teighafileconverter/doinst.sh')
-rw-r--r--graphics/teighafileconverter/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/teighafileconverter/doinst.sh b/graphics/teighafileconverter/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/graphics/teighafileconverter/doinst.sh
@@ -0,0 +1,10 @@
+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
+