summaryrefslogtreecommitdiff
path: root/office/htmldoc/doinst.sh
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-12 23:33:01 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:33:01 +0200
commit275dc9b95ba3e915c504f6e7fa11e5915bad2d22 (patch)
treebfa0fe54f0555caf03102d91613e126113b5a999 /office/htmldoc/doinst.sh
parent83f437d12a6c1ce47ff0831dc1ab50f814556b4b (diff)
downloadslackbuilds-275dc9b95ba3e915c504f6e7fa11e5915bad2d22.tar.gz
office/htmldoc: Added to 12.2 repository
Diffstat (limited to 'office/htmldoc/doinst.sh')
-rw-r--r--office/htmldoc/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/office/htmldoc/doinst.sh b/office/htmldoc/doinst.sh
new file mode 100644
index 0000000000..2a77b3fa85
--- /dev/null
+++ b/office/htmldoc/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+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
+