diff options
author | Andre Fernando <ando344@gmail.com> | 2020-10-30 00:41:29 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-31 11:15:23 +0700 |
commit | a69bdd3e7a311776d85dcd665a514d36f4bb17ed (patch) | |
tree | 7fd2fdbc392a1fc10484b66eca719ad0970b9459 /office/FreeOffice/doinst.sh | |
parent | f3588e2b51ee483f2a5c6dc2946638baaf58c9bc (diff) |
office/FreeOffice: Added (free alternative to Microsoft Office)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/FreeOffice/doinst.sh')
-rw-r--r-- | office/FreeOffice/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/FreeOffice/doinst.sh b/office/FreeOffice/doinst.sh new file mode 100644 index 0000000000000..aea0f894eb32b --- /dev/null +++ b/office/FreeOffice/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 |