summaryrefslogtreecommitdiff
path: root/office/focuswriter/doinst.sh
diff options
context:
space:
mode:
authorGiuseppe Scalzi <giuseppe@osgate.org>2011-02-06 11:39:31 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-06 11:39:31 -0600
commita44e0d03584dab91a41a4f13606910c036875e16 (patch)
tree7d96bf001048d62d11d43499176d180a31b7ac39 /office/focuswriter/doinst.sh
parent32ac5f7a61445600f398415a9bcb838a59c2fd17 (diff)
downloadslackbuilds-a44e0d03584dab91a41a4f13606910c036875e16.tar.gz
office/focuswriter: Added (distraction-free word processor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/focuswriter/doinst.sh')
-rw-r--r--office/focuswriter/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/focuswriter/doinst.sh b/office/focuswriter/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/office/focuswriter/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
+