mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
10a7e72a8b
a/haveged-1.9.14-x86_64-1.txz: Upgraded. ap/ispell-3.4.01-x86_64-1.txz: Upgraded. d/distcc-3.3.5-x86_64-1.txz: Upgraded. kde/calligra-3.2.1-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.01.0. kde/cantor-20.12.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.01.0. kde/kfilemetadata-5.77.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.01.0. kde/kile-2.9.93-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.01.0. kde/kitinerary-20.12.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.01.0. kde/krita-4.4.1-x86_64-3.txz: Rebuilt. Recompiled against poppler-21.01.0. kde/okular-20.12.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.01.0. l/imagemagick-7.0.10_55-x86_64-1.txz: Upgraded. l/jasper-2.0.24-x86_64-1.txz: Upgraded. l/mozilla-nss-3.60.1-x86_64-1.txz: Upgraded. l/ocl-icd-2.2.14-x86_64-1.txz: Upgraded. l/poppler-21.01.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-idna-3.1-x86_64-1.txz: Upgraded. l/python-pillow-8.1.0-x86_64-1.txz: Upgraded. n/dehydrated-0.7.0-noarch-1.txz: Added. This is a Let's Encrypt / ACME setup script. Thanks to Heinz Wiesinger. n/dovecot-2.3.13-x86_64-1.txz: Upgraded. n/fetchmail-6.4.15-x86_64-1.txz: Upgraded. n/nettle-3.7-x86_64-1.txz: Upgraded. tcl/tcl-8.6.11-x86_64-1.txz: Upgraded. tcl/tk-8.6.11-x86_64-1.txz: Upgraded. xfce/xfce4-screensaver-0.1.11-x86_64-4.txz: Rebuilt. Don't ship unneeded autostart file. Thanks to ljb643.
26 lines
653 B
Bash
26 lines
653 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...
|
|
}
|
|
preserve_perms() {
|
|
NEW="$1"
|
|
OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
|
|
if [ -e ${OLD} ]; then
|
|
cp -a ${OLD} ${NEW}.incoming
|
|
cat ${NEW} > ${NEW}.incoming
|
|
mv ${NEW}.incoming ${NEW}
|
|
fi
|
|
config ${NEW}
|
|
}
|
|
|
|
config etc/dehydrated/config.new
|
|
preserve_perms etc/cron.daily/dehydrated.new
|
|
|