slackware-current/source/n/bluez/doinst.sh
Patrick J Volkerding 2953aca3b1 Wed Apr 17 20:35:48 UTC 2024
a/kernel-firmware-20240417_e678699-noarch-1.txz:  Upgraded.
a/kernel-generic-6.6.28-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.6.28-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.6.28-x86_64-1.txz:  Upgraded.
a/xfsprogs-6.7.0-x86_64-1.txz:  Upgraded.
d/kernel-headers-6.6.28-x86-1.txz:  Upgraded.
k/kernel-source-6.6.28-noarch-1.txz:  Upgraded.
l/pycups-2.0.3-x86_64-1.txz:  Upgraded.
l/python-sphinx-7.3.5-x86_64-1.txz:  Upgraded.
n/bluez-5.75-x86_64-2.txz:  Rebuilt.
  Prune duplicate config files. Thanks to audriusk.
x/libXmu-1.2.1-x86_64-1.txz:  Upgraded.
x/util-macros-1.20.1-noarch-1.txz:  Upgraded.
x/wayland-protocols-1.35-noarch-1.txz:  Upgraded.
xap/mozilla-thunderbird-115.10.0-x86_64-1.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/115.10.0/releasenotes/
    https://www.mozilla.org/en-US/security/known-vulnerabilities/thunderbird/#thunderbird115.10
  (* Security fix *)
xfce/xfce4-notifyd-0.9.4-x86_64-2.txz:  Rebuilt.
  Do not install DBus service files, as these cause xfce4-notifyd to start in
  plasma sessions. Thanks to ctrlaltca.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2024-04-17 23:41:21 +02:00

25 lines
801 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...
}
# Keep same perms on rc.bluetooth.new:
if [ -e etc/rc.d/rc.bluetooth ]; then
cp -a etc/rc.d/rc.bluetooth etc/rc.d/rc.bluetooth.new.incoming
cat etc/rc.d/rc.bluetooth.new > etc/rc.d/rc.bluetooth.new.incoming
mv etc/rc.d/rc.bluetooth.new.incoming etc/rc.d/rc.bluetooth.new
fi
config etc/rc.d/rc.bluetooth.new
config etc/bluetooth/input.conf.new
config etc/bluetooth/main.conf.new
config etc/bluetooth/network.conf.new
config etc/default/bluetooth.new