diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2018-03-16 22:35:49 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-17 08:51:49 +0700 |
commit | 9fa8fb9e6f410e4e253c90838decf770be4859f4 (patch) | |
tree | 17c22189eb961d28d2404300e4738dc8f9e2d54d /office/smoffice2018/doinst.sh | |
parent | 29a9a8e664955c2bb871a6aafd39c44de40a0ae1 (diff) |
office/smoffice2018: Added (office suite).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/smoffice2018/doinst.sh')
-rw-r--r-- | office/smoffice2018/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/smoffice2018/doinst.sh b/office/smoffice2018/doinst.sh new file mode 100644 index 0000000000000..aea0f894eb32b --- /dev/null +++ b/office/smoffice2018/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 |