aboutsummaryrefslogtreecommitdiff
path: root/office/lyx/doinst.sh
diff options
context:
space:
mode:
authorMorten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>2010-07-22 16:55:22 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-25 21:52:40 -0500
commit109c11fb9c58bc7e1f8bec08904c50ca5ed4d95f (patch)
tree09a45790df322dae10c019ee48b2d8a80d5361b0 /office/lyx/doinst.sh
parent934dfe45a264513c337d504d48bbf36a253c2916 (diff)
office/lyx: Updated for version 1.6.7.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office/lyx/doinst.sh')
-rw-r--r--office/lyx/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/lyx/doinst.sh b/office/lyx/doinst.sh
new file mode 100644
index 0000000000000..9424ce43ff572
--- /dev/null
+++ b/office/lyx/doinst.sh
@@ -0,0 +1,13 @@
+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
+
+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