diff options
author | Eduardo Oda <edu.oda@gmail.com> | 2010-05-12 23:32:58 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:32:58 +0200 |
commit | 2434206fd0ba430516f5bf6f5a8755438f5d3022 (patch) | |
tree | 7f689a59c246a1dd1a058b0285b3169c8b1953bb /office/broffice.org/doinst.sh | |
parent | e5ceba8a763520d8568792f38c84fd788ad07a7d (diff) |
office/broffice.org: Added to 12.2 repository
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 0000000000000..88ab9f58ff611 --- /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 + |