summaryrefslogtreecommitdiff
path: root/office/focuswriter-legacy/doinst.sh
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2020-05-22 15:13:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-23 09:31:59 +0700
commit24868a2f1bcdb3f7abbc0fbf9d44453d73a96fa0 (patch)
tree01cc590a6e933d2f1bb8b678546aa52d1d2e468b /office/focuswriter-legacy/doinst.sh
parent28f1f0ab945a27fa257445dd9584c1d1fccd8a8c (diff)
downloadslackbuilds-24868a2f1bcdb3f7abbc0fbf9d44453d73a96fa0.tar.gz
office/focuswriter-legacy: Added (distraction-free word processor)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/focuswriter-legacy/doinst.sh')
-rw-r--r--office/focuswriter-legacy/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/focuswriter-legacy/doinst.sh b/office/focuswriter-legacy/doinst.sh
new file mode 100644
index 0000000000..4a25de5e6f
--- /dev/null
+++ b/office/focuswriter-legacy/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+