mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
497dcc1ee7
a/cryptsetup-2.7.1-x86_64-1.txz: Upgraded. a/elogind-252.23-x86_64-2.txz: Rebuilt. Install /etc/pam.d/elogind-user as .new. Thanks to Markus Wiesner. a/kmod-32-x86_64-1.txz: Upgraded. a/tcsh-6.24.11-x86_64-1.txz: Upgraded. ap/a2ps-4.15.6-x86_64-1.txz: Upgraded. d/vala-0.56.16-x86_64-1.txz: Upgraded. l/avahi-20240306_709e60f-x86_64-1.txz: Upgraded. Don't reload dbus from the installer. x/mesa-24.0.3-x86_64-1.txz: Upgraded. xap/xlockmore-5.76-x86_64-1.txz: Upgraded. xfce/xfce4-screensaver-4.18.3-x86_64-2.txz: Rebuilt. Install /etc/pam.d/xfce4-screensaver as .new. Thanks to Markus Wiesner.
18 lines
482 B
Bash
18 lines
482 B
Bash
# Handle the incoming configuration files:
|
|
config() {
|
|
for infile in $1; do
|
|
NEW="$infile"
|
|
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...
|
|
done
|
|
}
|
|
|
|
config etc/pam.d/xfce4-screensaver.new
|
|
|