aboutsummaryrefslogtreecommitdiff
path: root/office/wordtsar/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-08-26 11:46:56 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-26 19:07:02 +0700
commit30c0971a2625ad18776554d0d8fab0001cf54bad (patch)
tree637292f1d659ffcfa1c09b5e50d2969a7f2a70cc /office/wordtsar/doinst.sh
parentf09d3606732d01e44c3b70ce36650f1947a3dea2 (diff)
office/wordtsar: Added (wordstar clone).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/wordtsar/doinst.sh')
-rw-r--r--office/wordtsar/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/wordtsar/doinst.sh b/office/wordtsar/doinst.sh
new file mode 100644
index 000000000000..65c7e2eeb9aa
--- /dev/null
+++ b/office/wordtsar/doinst.sh
@@ -0,0 +1,9 @@
+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