summaryrefslogtreecommitdiff
path: root/development/komodo-edit/doinst.sh
diff options
context:
space:
mode:
authorGiuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>2016-08-06 09:09:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-07 18:55:32 +0700
commitf6a85bac63151ea8f21358689861abd2ce03f50f (patch)
treec70587d3d71a444a62678f344cc2d834d47754a7 /development/komodo-edit/doinst.sh
parentf949b649a5fadbbf5035908c6e3ffe23dba8b6fc (diff)
downloadslackbuilds-f6a85bac63151ea8f21358689861abd2ce03f50f.tar.gz
development/komodo-edit: Added (Multi-Language Editor).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/komodo-edit/doinst.sh')
-rw-r--r--development/komodo-edit/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/development/komodo-edit/doinst.sh b/development/komodo-edit/doinst.sh
new file mode 100644
index 0000000000..4fa581ea29
--- /dev/null
+++ b/development/komodo-edit/doinst.sh
@@ -0,0 +1,6 @@
+( cd usr/bin; ln -sf /opt/komodo-edit/bin/komodo komodo-edit )
+( cd usr/share/applications; ln -sf /opt/komodo-edit/share/desktop/komodo-edit-*.desktop komodo-edit.desktop )
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi