POSTIN
/bin/sh
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/gnome || true; fi
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor || true; fi
# Firefox plugin
if [ $1 -gt 1 ]
then
update-alternatives --remove libnpsoplugin.so \
/usr/lib64/libreoffice/program/libnpsoplugin.so
fi
update-alternatives \
--install /usr/lib64/mozilla/plugins/libnpsoplugin.so libnpsoplugin.so \
/usr/lib64/libreoffice/program/libnpsoplugin.so 1
POSTUN
/bin/sh
if [ -x /usr/bin/gtk-update-icon-cache -a -r /usr/share/icons/gnome/index.theme ]; then
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/gnome || true ; fi
if [ -x /usr/bin/gtk-update-icon-cache -a -r /usr/share/icons/hicolor/index.theme ]; then
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor || true ; fi
# Firefox plugin
if [ $1 -eq 0 ]
then
update-alternatives --remove libnpsoplugin.so \
/usr/lib64/libreoffice/program/libnpsoplugin.so
fi