slackware-current/source/a/bash/doinst.sh
Patrick J Volkerding 10851c8f6b Fri Mar 8 18:28:40 UTC 2019
a/bash-5.0.002-x86_64-3.txz:  Rebuilt.
  Fix applying patches. Thanks to saahriktu.
a/e2fsprogs-1.45.0-x86_64-1.txz:  Upgraded.
n/ca-certificates-20190308-noarch-1.txz:  Upgraded.
n/nghttp2-1.37.0-x86_64-1.txz:  Upgraded.
n/ntp-4.2.8p13-x86_64-1.txz:  Upgraded.
  This release fixes a bug that allows an attacker with access to an explicitly
  trusted source to send a crafted malicious mode 6 (ntpq) packet that can
  trigger a NULL pointer dereference, crashing ntpd.
  It also provides 17 other bugfixes and 1 other improvement.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-8936
  (* Security fix *)
n/postfix-3.4.1-x86_64-2.txz:  Rebuilt.
n/s-nail-14.9.13-x86_64-1.txz:  Upgraded.
2019-03-09 08:59:47 +01:00

18 lines
362 B
Bash

if [ -r bin/bash ]; then
mv bin/bash bin/bash.old
fi
mv bin/bash5.new bin/bash
if [ -f bin/bash.old ]; then
rm -f bin/bash.old
fi
if [ ! -r etc/shells ]; then
touch etc/shells
chmod 644 etc/shells
fi
if grep -wq /bin/bash etc/shells ; then
true
else
echo /bin/bash >> etc/shells
fi
( cd usr/bin ; rm -rf bash )
( cd usr/bin ; ln -sf /bin/bash bash )