Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 0cb344703c3576f0730a1dca09fb14a6 > scriptlet

thunderbird-enigmail-52.9.1-1.mga6.x86_64.rpm

PREUN

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

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

if [ -x /usr/lib64/thunderbird-52.9.1/thunderbird-bin ]; then 
mktemp="/bin/mktemp -d -q -p ${TMPDIR:-/tmp} -t thunderbird.XXXXXXXXXX"

  TMPDIR= TB_TMPDIR=`$mktemp` && {
      HOME="$TB_TMPDIR" LD_LIBRARY_PATH="/usr/lib64/thunderbird-52.9.1" /usr/lib64/thunderbird-52.9.1/thunderbird-bin -nox -register
      test -d "$TB_TMPDIR" && /usr/bin/rm -rf -- "$TB_TMPDIR"
  }
fi

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

POSTIN

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

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

mktemp="/bin/mktemp -d -q -p ${TMPDIR:-/tmp} -t thunderbird.XXXXXXXXXX"

TMPDIR= TB_TMPDIR=`$mktemp` && {
    HOME="$TB_TMPDIR" LD_LIBRARY_PATH="/usr/lib64/thunderbird-52.9.1" /usr/lib64/thunderbird-52.9.1/thunderbird-bin -nox -register
    test -d "$TB_TMPDIR" && /usr/bin/rm -rf -- "$TB_TMPDIR"
}