summaryrefslogtreecommitdiff
path: root/academic/lpsolve/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-10-07 07:39:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-11 00:14:13 +0700
commit8894f7f91bb6a1aa61bd21e8c82d68b94baca1b4 (patch)
tree4fd9aa28621e8e463035bd98d1324c27c8891264 /academic/lpsolve/doinst.sh
parenta654d0f07aa0f119364af10c8e04fe21c75258cb (diff)
downloadslackbuilds-8894f7f91bb6a1aa61bd21e8c82d68b94baca1b4.tar.gz
academic/lpsolve: Added (linear pogramming solver).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/lpsolve/doinst.sh')
-rw-r--r--academic/lpsolve/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/lpsolve/doinst.sh b/academic/lpsolve/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/lpsolve/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