aboutsummaryrefslogtreecommitdiff
path: root/office/focuswriter-qt6/doinst.sh
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2023-06-17 12:11:36 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-17 17:18:58 +0700
commitf011dda2fa90236616f0ba971a1a00908e7f12f4 (patch)
tree4f1bb699545a7a57c1a368c03b53ecae3e41f84b /office/focuswriter-qt6/doinst.sh
parentf9adb7eccf26c401bd849234ccccf1ff4e2b8feb (diff)
office/focuswriter-qt6: Added (distraction-free word processor).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/focuswriter-qt6/doinst.sh')
-rw-r--r--office/focuswriter-qt6/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/focuswriter-qt6/doinst.sh b/office/focuswriter-qt6/doinst.sh
new file mode 100644
index 0000000000000..4a25de5e6fbd1
--- /dev/null
+++ b/office/focuswriter-qt6/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
+