PREIN
/bin/sh
if [ -e /usr/lib64/broffice.org3/share/extensions/extensions ]; then
rm -rf /usr/lib64/broffice.org3/share/extensions
fi
POSTIN
/bin/sh
update-desktop-database /usr/share/applications &> /dev/null || :
update-mime-database /usr/share/mime &> /dev/null || :
if [ -x /usr/bin/gtk-update-icon-cache ]; then
for theme in hicolor locolor; do
if test -d "/usr/share/icons/$theme"; then
if test -f "/usr/share/icons/$theme/index.theme"; then
touch --no-create /usr/share/icons/$theme
gtk-update-icon-cache -q /usr/share/icons/$theme
fi
fi
done
fi
POSTUN
/bin/sh
update-desktop-database /usr/share/applications &> /dev/null || :
update-mime-database /usr/share/mime &> /dev/null || :
if [ -x /usr/bin/gtk-update-icon-cache ]; then
for theme in hicolor locolor; do
if test -d "/usr/share/icons/$theme"; then
if test -f "/usr/share/icons/$theme/index.theme"; then
touch --no-create /usr/share/icons/$theme
gtk-update-icon-cache -q /usr/share/icons/$theme
fi
fi
done
fi