mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
bca17f28cc
Enjoy your shiny new vmlinuz-6.9.11-generic! Thanks again to LuckyCyborg for teaching me about the path of least resistance. a/grub-2.12-x86_64-14.txz: Rebuilt. Don't mention 09_slackware_linux in the /etc/default/grub comments. a/kernel-generic-6.9.11-x86_64-1.txz: Upgraded. a/kernel-huge-6.9.11-x86_64-1.txz: Upgraded. a/kernel-modules-6.9.11-x86_64-1.txz: Upgraded. a/mkinitrd-1.4.11-x86_64-35.txz: Rebuilt. d/kernel-headers-6.9.11-x86-1.txz: Upgraded. d/rust-1.80.0-x86_64-1.txz: Upgraded. k/kernel-source-6.9.11-noarch-1.txz: Upgraded. l/xapian-core-1.4.26-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
13 lines
373 B
Bash
13 lines
373 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/default/geninitrd.new
|