From 2434206fd0ba430516f5bf6f5a8755438f5d3022 Mon Sep 17 00:00:00 2001 From: Eduardo Oda Date: Wed, 12 May 2010 23:32:58 +0200 Subject: office/broffice.org: Added to 12.2 repository --- office/broffice.org/doinst.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 office/broffice.org/doinst.sh (limited to 'office/broffice.org/doinst.sh') 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 + -- cgit v1.2.3