Sophie

Sophie

distrib > Mageia > 4 > x86_64 > media > core-updates > by-pkgid > e0c017cb7b76c8f3a412095713000d47 > scriptlet

thunderbird-enigmail-24.4.0-1.mga4.x86_64.rpm

PREUN

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

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

if [ -x /usr/lib64/thunderbird-24.4.0/thunderbird-bin ]; then 
mktemp="/bin/mktemp -d -q -p /tmp -t thunderbird.XXXXXXXXXX"

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

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

POSTIN

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

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

mktemp="/bin/mktemp -d -q -p /tmp -t thunderbird.XXXXXXXXXX"

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