summaryrefslogtreecommitdiff
path: root/graphics/qcad/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2015-01-04 08:39:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-04 08:39:41 +0700
commit671735d433257cef9320bddc608bcf82aa55e5e6 (patch)
tree731a41112e1a7104b3555774b91313ede9e5034c /graphics/qcad/doinst.sh
parent84bf41e1996ad031630db1e3ff1f5adf4e59e01d (diff)
downloadslackbuilds-671735d433257cef9320bddc608bcf82aa55e5e6.tar.gz
graphics/qcad: Added (Open Source CAD).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/qcad/doinst.sh')
-rw-r--r--graphics/qcad/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/qcad/doinst.sh b/graphics/qcad/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/graphics/qcad/doinst.sh
@@ -0,0 +1,9 @@
+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