Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 886a4e2459dd1b2f2e2a926ed76e5da2 > scriptlet

mozilla-thunderbird-enigmail-10.0.9-1.mga1.i586.rpm

PREUN

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

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

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

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

POSTIN

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

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