mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
3a7a083162
a/dracut-103-x86_64-2.txz: Rebuilt. Include /etc/dracut.conf.d/elogind.conf to handle uaccess rules correctly. Thanks to LuckyCyborg. l/cairo-1.18.2-x86_64-2.txz: Rebuilt. [PATCH] cff: Don't fail if no local subs. Fixes printing PDFs with CUPS. Thanks to pee_bee and reddog83. l/glib2-2.82.1-x86_64-1.txz: Upgraded. l/pipewire-1.2.4-x86_64-1.txz: Upgraded. n/NetworkManager-1.48.10-x86_64-2.txz: Rebuilt. Rebuilt to pick up the new plugin directory for ppp-2.5.1. n/bind-9.20.2-x86_64-1.txz: Upgraded. n/openssh-9.9p1-x86_64-1.txz: Upgraded. Future deprecation notice: OpenSSH plans to remove support for the DSA signature algorithm in early 2025. For now, this package retains DSA support, but plan accordingly. n/ppp-2.5.1-x86_64-1.txz: Upgraded. n/rp-pppoe-4.0-x86_64-1.txz: Upgraded. Upstream has removed "ancient crufty scripts," so see HOW-TO-CONNECT in the documentation if you were using those to connect previously.
13 lines
389 B
Bash
13 lines
389 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/ppp/pppoe-server-options.new
|