Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 6d29117194905594c2d0e1c784e6021f > scriptlet

mailx-12.5-3.fc15.i686.rpm

Triggers

mailx < 12

/bin/sh
[ -f /etc/mail.rc.rpmnew ] && {
    # old config was changed. Merge both together.
    ( echo '# The settings above was inherited from the old mailx-8.x config'
      echo
      cat /etc/mail.rc.rpmnew
    ) >>/etc/mail.rc
} || :

nail <= 12.3

/bin/sh
[ -f /etc/nail.rc.rpmsave ] && {
    # old config was changed...
    save=/etc/mail.rc.rpmnew
    [ -f $save ] && save=/etc/mail.rc.rpmsave

    mv -f /etc/mail.rc $save
    mv -f /etc/nail.rc.rpmsave /etc/mail.rc
} || :