Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates > by-pkgid > adc33409422431220314dd4c84f5756e > scriptlet

mozilla-thunderbird-3.1.18-1.mga1.i586.rpm

PREIN

/bin/sh
if [ $1 == 2 ]; then
  if [ -d /usr/lib/thunderbird-3.1.18/dictionaries ]; then
    # Otherelse rpm can't switch this into a symlink :(
    rm -rf /usr/lib/thunderbird-3.1.18/dictionaries
  fi
fi

POSTIN

/bin/sh
/usr/share/rpm-helper/create-file mozilla-thunderbird $1 /usr/lib/thunderbird-3.1.18/chrome/app-chrome.manifest root root 644 
/usr/share/rpm-helper/create-file mozilla-thunderbird $1 /usr/lib/thunderbird-3.1.18/components/compreg.dat root root 644 
/usr/share/rpm-helper/create-file mozilla-thunderbird $1 /usr/lib/thunderbird-3.1.18/components/xpti.dat root root 644 

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

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

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