Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 48a57986f33f056d581283b34abaef74 > scriptlet

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

PREUN

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

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

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

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

POSTIN

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

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