summaryrefslogtreecommitdiff
path: root/source/ap/texinfo/doinst.sh
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-09-24 21:18:36 +0000
committerEric Hameleers <alien@slackware.com>2019-09-25 08:59:48 +0200
commite95bfb887895c342fc1d8053d8cacda80cc36af4 (patch)
tree03664c1696add8f6a4ef277e789177c7bc41efa6 /source/ap/texinfo/doinst.sh
parente9f66c56358ba27b346633a9741fad3cfbe483ac (diff)
downloadcurrent-e95bfb887895c342fc1d8053d8cacda80cc36af4.tar.gz
Tue Sep 24 21:18:36 UTC 201920190924211836
a/e2fsprogs-1.45.4-x86_64-1.txz: Upgraded. ap/cups-filters-1.25.6-x86_64-1.txz: Upgraded. ap/texinfo-6.7-x86_64-1.txz: Upgraded. l/gst-plugins-base-1.16.1-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.16.1-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.16.1-x86_64-1.txz: Upgraded. l/gstreamer-1.16.1-x86_64-1.txz: Upgraded. n/ethtool-5.3-x86_64-1.txz: Upgraded. n/php-7.3.10-x86_64-1.txz: Upgraded. This update fixes bugs and a security issue: MBString: Fixed bug #78559 (Heap buffer overflow in mb_eregi). (cmb) For more information, see: https://php.net/ChangeLog-7.php#7.3.10 (* Security fix *) x/libXvMC-1.0.12-x86_64-1.txz: Upgraded. x/libmypaint-1.4.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. xap/gimp-2.10.12-x86_64-2.txz: Rebuilt. Recompiled against libmypaint-1.4.0. extra/pure-alsa-system/gst-plugins-good-1.16.1-x86_64-1_alsa.txz: Upgraded.
Diffstat (limited to 'source/ap/texinfo/doinst.sh')
-rw-r--r--source/ap/texinfo/doinst.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/ap/texinfo/doinst.sh b/source/ap/texinfo/doinst.sh
index ab42f74f..729cdcc0 100644
--- a/source/ap/texinfo/doinst.sh
+++ b/source/ap/texinfo/doinst.sh
@@ -1,5 +1,6 @@
# If no dir file exists, we'll assume it's a fresh installation and create one
-# Otherwise, we'll throw out the new copy to preserve what's already installed
+# Otherwise, we'll throw out the new copy to preserve what's already installed.
+# To update your own /usr/info/dir, see: man update-info-dir
if [ -e usr/info/dir ]; then
# If there is no topmost node, this dir file is broken, so replace it:
if ! grep -q "Node: Top" usr/info/dir ; then
@@ -8,4 +9,9 @@ if [ -e usr/info/dir ]; then
else
mv usr/info/dir.new usr/info/dir
fi
-
+# If these are the same, then remove usr/info/dir.new:
+if [ -r usr/info/dir -a -r usr/info/dir.new ]; then
+ if diff usr/info/dir usr/info/dir.new 1> /dev/null 2> /dev/null ; then
+ rm usr/info/dir.new
+ fi
+fi