mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
f2ee5ebc09
a/bash-5.2.037-x86_64-1.txz: Upgraded. a/dracut-103-x86_64-3.txz: Rebuilt. Don't search for systemd services. Thanks to LuckyCyborg. d/git-2.46.2-x86_64-1.txz: Upgraded. kde/krita-5.2.5-x86_64-1.txz: Upgraded. l/gtk4-4.16.2-x86_64-1.txz: Upgraded. l/harfbuzz-10.0.0-x86_64-1.txz: Upgraded. n/netatalk-3.2.10-x86_64-1.txz: Upgraded. xap/mpv-0.39.0-x86_64-1.txz: Upgraded.
15 lines
447 B
Bash
15 lines
447 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/dracut.conf.d/elogind.conf.new
|
|
config etc/dracut.conf.d/omit_systemd_modules.conf.new
|