aboutsummaryrefslogtreecommitdiff
path: root/office/sigil/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-06-15 01:33:56 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-15 01:33:56 -0500
commite811bf0adf40f4f711bc7dced51b7688dc68afc8 (patch)
treeaa822b53dbee3cf9eae5a3f42e094c0d267776c8 /office/sigil/doinst.sh
parenta54a81cfe60de42fd7f504ae6cb9ebcd5dc1b3d3 (diff)
office/sigil: Added (WYSIWYG ebook editor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/sigil/doinst.sh')
-rw-r--r--office/sigil/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/sigil/doinst.sh b/office/sigil/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/office/sigil/doinst.sh
@@ -0,0 +1,10 @@
+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
+