PREIN
/bin/sh
if [ $1 == 2 ]; then
if [ -d /usr/lib/thunderbird-2.0.0.17/dictionaries ]; then
# Otherelse rpm can't switch this into a symlink :(
rm -rf /usr/lib/thunderbird-2.0.0.17/dictionaries
fi
fi
POSTIN
/bin/sh
/usr/bin/update-desktop-database /usr/share/applications
/usr/share/rpm-helper/create-file mozilla-thunderbird $1 /usr/lib/thunderbird-2.0.0.17/chrome/app-chrome.manifest root root 644
/usr/share/rpm-helper/create-file mozilla-thunderbird $1 /usr/lib/thunderbird-2.0.0.17/components/compreg.dat root root 644
/usr/share/rpm-helper/create-file mozilla-thunderbird $1 /usr/lib/thunderbird-2.0.0.17/components/xpti.dat root root 644
if [ -f /usr/lib/thunderbird-2.0.0.17/components/compreg.dat ]; then
/bin/rm -f /usr/lib/thunderbird-2.0.0.17/components/compreg.dat
fi
if [ -f /usr/lib/thunderbird-2.0.0.17/components/xpti.dat ]; then
/bin/rm -f /usr/lib/thunderbird-2.0.0.17/components/xpti.dat
fi
mktemp="/bin/mktemp -d -q -p /tmp -t mozilla-thunderbird.XXXXXXXXXX"
TMPDIR= TB_TMPDIR=`$mktemp` && {
HOME="$TB_TMPDIR" LD_LIBRARY_PATH="/usr/lib/thunderbird-2.0.0.17" /usr/lib/thunderbird-2.0.0.17/thunderbird-bin -nox -register
test -d "$TB_TMPDIR" && /bin/rm -rf -- "$TB_TMPDIR"
}
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor
fi
POSTUN
/bin/sh
/usr/bin/update-desktop-database /usr/share/applications
if [ "$1" = "0" -a -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor
fi
#===============================================================================