summaryrefslogtreecommitdiff
path: root/graphics/qelectrotech/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-05-28 18:19:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:48 +0700
commit80a8c597db25126fb6eb915508e97848affd0e8a (patch)
treea7766f5a65d6977e596c6ca01e35d02b2544282e /graphics/qelectrotech/doinst.sh
parent069de36ef4e4497a7c1e30c24ec5cc50b4369af0 (diff)
downloadslackbuilds-80a8c597db25126fb6eb915508e97848affd0e8a.tar.gz
graphics/qelectrotech: Added (A Free Electrical Drawing Program).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/qelectrotech/doinst.sh')
-rw-r--r--graphics/qelectrotech/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/qelectrotech/doinst.sh b/graphics/qelectrotech/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/graphics/qelectrotech/doinst.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi