Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 50e0c876d4556aa542ce2bac09a8b3ce > scriptlet

mozilla-thunderbird-enigmail-2.0.0.23-0.1mdv2009.0.i586.rpm

PREUN

/bin/sh
if [ -f /usr/lib/thunderbird-2.0.0.23/components/compreg.dat ]; then
    /bin/rm -f /usr/lib/thunderbird-2.0.0.23/components/compreg.dat
fi

if [ -f /usr/lib/thunderbird-2.0.0.23/components/xpti.dat ]; then
    /bin/rm -f /usr/lib/thunderbird-2.0.0.23/components/xpti.dat
fi

if [ -x /usr/lib/thunderbird-2.0.0.23/thunderbird-bin ]; then 
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.23" /usr/lib/thunderbird-2.0.0.23/thunderbird-bin -nox -register
      test -d "$TB_TMPDIR" && /bin/rm -rf -- "$TB_TMPDIR"
  }
fi

#===============================================================================

POSTIN

/bin/sh
if [ -f /usr/lib/thunderbird-2.0.0.23/components/compreg.dat ]; then
    /bin/rm -f /usr/lib/thunderbird-2.0.0.23/components/compreg.dat
fi

if [ -f /usr/lib/thunderbird-2.0.0.23/components/xpti.dat ]; then
    /bin/rm -f /usr/lib/thunderbird-2.0.0.23/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.23" /usr/lib/thunderbird-2.0.0.23/thunderbird-bin -nox -register
    test -d "$TB_TMPDIR" && /bin/rm -rf -- "$TB_TMPDIR"
}