Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates > by-pkgid > beee62ea74d42d9e8dd712e22c0f7d9b > scriptlet

thunderbird-enigmail-52.8.0-4.mga6.armv7hl.rpm

PREUN

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

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

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

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

POSTIN

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

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