slackware-current/source/n/alpine/doinst.sh.alpine
Patrick J Volkerding 467ef177c6 Wed Oct 6 00:02:15 UTC 2021
a/glibc-zoneinfo-2021c-noarch-1.txz:  Upgraded.
a/util-linux-2.37.2-x86_64-4.txz:  Rebuilt.
  Removed broken /usr/share/bash-completion/completions/runuser symlink.
  Thanks to marav.
n/ca-certificates-20211005-noarch-1.txz:  Upgraded.
  Don't install /etc/ca-certificates.conf as a .new file - it's an auto-
  generated list that will just end up suffering a mismatch with the files
  included in the package. Thanks to Weber Kai.
xap/mozilla-firefox-91.2.0esr-x86_64-1.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/91.2.0/releasenotes/
    https://www.mozilla.org/security/advisories/mfsa2021-45/
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38496
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38497
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38498
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32810
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38500
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38501
  (* Security fix *)
2021-10-06 08:59:56 +02:00

18 lines
471 B
Bash

#!/bin/sh
config() {
NEW="$1"
OLD="`dirname $NEW`/`basename $NEW .new`"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/pine.conf.new
# Prevent sticker shock
if [ ! -e usr/bin/pine ]; then
( cd usr/bin ; ln -sf alpine pine )
fi