diff options
Diffstat (limited to 'office/broffice.org/doinst.sh')
-rw-r--r-- | office/broffice.org/doinst.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/office/broffice.org/doinst.sh b/office/broffice.org/doinst.sh new file mode 100644 index 0000000000..88ab9f58ff --- /dev/null +++ b/office/broffice.org/doinst.sh @@ -0,0 +1,16 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -x /usr/bin/gtk-update-icon-cache ]; then + for theme in gnome locolor hicolor ; do + if [ -e usr/share/icons/$theme/icon-theme.cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/$theme >/dev/null 2>&1 + fi + done +fi + |