Sophie

Sophie

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

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

PREUN

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

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

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

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

POSTIN

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

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