aboutsummaryrefslogtreecommitdiff
path: root/office/plover/doinst.sh
diff options
context:
space:
mode:
authorAlan Aversa <alan.aveNOrsaSP@AMcox.net (remove NO and SPAM)>2020-04-17 16:50:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:00:20 +0700
commit4d1d3e91fdb5af506287ee8ec7db9c9f5bc6de24 (patch)
tree503e072577bf12d80fb19f6fc47bb3d5a4c094b6 /office/plover/doinst.sh
parent24b6aa7d76c9800d9f8fbd5603ae1477de2f666f (diff)
office/plover: Added (Open source stenotype engine).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/plover/doinst.sh')
-rw-r--r--office/plover/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/plover/doinst.sh b/office/plover/doinst.sh
new file mode 100644
index 000000000000..aea0f894eb32
--- /dev/null
+++ b/office/plover/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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