Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 4fda65b2260a5d03f75039c7ed39c215 > scriptlet

mozilla-thunderbird-enigmail-2.0.0.12-3mdv2008.1.x86_64.rpm

PREUN

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

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

if [ -x /usr/lib64/thunderbird-2.0.0.12/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/lib64/thunderbird-2.0.0.12" /usr/lib64/thunderbird-2.0.0.12/thunderbird-bin -nox -register
      test -d "$TB_TMPDIR" && /bin/rm -rf -- "$TB_TMPDIR"
  }
fi

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

POSTIN

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

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