slackware-current/source/a/dialog/doinst.sh
Patrick J Volkerding 74147bf26e Thu Mar 25 01:29:36 UTC 2021
a/dialog-1.3_20210319-x86_64-2.txz:  Rebuilt.
  Install /etc/dialogrc as /etc/dialogrc.new. This won't protect the file with
  this update, but it will moving forward. Thanks to Tonus.
l/libsigc++3-3.0.6-x86_64-1.txz:  Added.
x/libinput-1.17.1-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-87.0-x86_64-2.txz:  Rebuilt.
  Pass --enable-optimize to let the build handle optimizations (apparently
  which optimizations work best differs throughout the tree). Don't pass
  optimization options in CFLAGS/CXXFLAGS. Build with --enable-rust-simd
  since upstream's binary releases do.
xap/mozilla-thunderbird-78.9.0-x86_64-1.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/78.9.0/releasenotes/
    https://www.mozilla.org/en-US/security/advisories/mfsa2021-12/
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23981
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23982
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23984
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23987
  (* Security fix *)
testing/packages/linux-5.11.x/kernel-generic-5.11.9-x86_64-1.txz:  Upgraded.
testing/packages/linux-5.11.x/kernel-headers-5.11.9-x86-1.txz:  Upgraded.
testing/packages/linux-5.11.x/kernel-huge-5.11.9-x86_64-1.txz:  Upgraded.
testing/packages/linux-5.11.x/kernel-modules-5.11.9-x86_64-1.txz:  Upgraded.
testing/packages/linux-5.11.x/kernel-source-5.11.9-noarch-1.txz:  Upgraded.
  -ADI_AXI_ADC m
   AD9467 m -> n
   FONT_TER16x32 n -> y
2021-03-25 08:59:54 +01:00

14 lines
372 B
Bash

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/dialogrc.new