Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-updates > by-pkgid > 03753e18c2b766d41ecc56a0660951a9 > scriptlet

firefox-17.0.7-1.mga2.i586.rpm

PREIN

/bin/sh
if [ -d /usr/lib/firefox-17.0.7/dictionaries ]; then
    rm -fr /usr/lib/firefox-17.0.7/dictionaries
fi

POSTIN

/bin/sh
if [ ! -r /etc/sysconfig/oem ]; then
  case `grep META_CLASS /etc/sysconfig/system` in
    *powerpack) bookmark="mozilla-powerpack.html" ;;
    *desktop) bookmark="mozilla-one.html";;
    *) bookmark="mozilla-download.html";;
  esac
  ln -s -f ../../../../share/mga/bookmarks/mozilla/$bookmark  /usr/lib/firefox-17.0.7/defaults/profile/bookmarks.html
fi