PREUN
/bin/sh
# is an upgrade
if [ "$1" == "1" ]; then
unset DISPLAY
/usr/lib64/firefox-2.0.0.6/mozilla-rebuild-databases.pl
fi
POSTIN
/bin/sh
unset DISPLAY
/usr/lib64/firefox-2.0.0.6/mozilla-rebuild-databases.pl
if [ ! -r /etc/sysconfig/oem ]; then
case `grep META_CLASS /etc/sysconfig/system` in
*powerpack) bookmark="mozilla-powerpack.html" ;;
*desktop) bookmark="mozilla-one.html";;
*) bookmark="mozilla-download.html";;
esac
ln -s -f ../../../../share/mdk/bookmarks/mozilla/$bookmark /usr/lib64/firefox-2.0.0.6/defaults/profile/bookmarks.html
fi