diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2017-07-14 01:31:02 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-15 07:33:40 +0700 |
commit | bbf8cce2c5815ba428a45411811cc7ff5a532ca4 (patch) | |
tree | 5e02b051d103c6fe2602382101b991f02efd82b8 /office/onlyoffice-desktopeditors/doinst.sh | |
parent | a5d10024420f541f2cc06845555f1c3806dd8de3 (diff) | |
download | slackbuilds-bbf8cce2c5815ba428a45411811cc7ff5a532ca4.tar.gz slackbuilds-bbf8cce2c5815ba428a45411811cc7ff5a532ca4.tar.xz |
office/onlyoffice-desktopeditors: Added (office suite).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/onlyoffice-desktopeditors/doinst.sh')
-rw-r--r-- | office/onlyoffice-desktopeditors/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/onlyoffice-desktopeditors/doinst.sh b/office/onlyoffice-desktopeditors/doinst.sh new file mode 100644 index 0000000000..aea0f894eb --- /dev/null +++ b/office/onlyoffice-desktopeditors/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 |