[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 01/01: debian/debhelper.in/libc-bin.postinst: Call ldconfig during configure as well, or major version upgrades will leave us without due to dep ordering.



This is an automated email from the git hooks/post-receive script.

adconrad pushed a commit to branch glibc-2.22
in repository glibc.

commit 60117c6df8aa62f4cb660fe61febd5730a04729a
Author: Adam Conrad <adconrad@0c3.net>
Date:   Thu Jan 28 12:52:53 2016 -0700

    debian/debhelper.in/libc-bin.postinst: Call ldconfig during configure as well, or major version upgrades will leave us without due to dep ordering.
---
 debian/changelog                      | 2 ++
 debian/debhelper.in/libc-bin.postinst | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b392f1c..dcd3d72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -70,6 +70,8 @@ glibc (2.22-0experimental2) UNRELEASED; urgency=medium
 
   [ Adam Conrad ]
   * debian/patches/any/cvs-gawk-gensub.diff: Fix scary output from newer gawk.
+  * debian/debhelper.in/libc-bin.postinst: Call ldconfig during configure as
+    well, or major version upgrades will leave us without due to dep ordering.
 
  -- Aurelien Jarno <aurel32@debian.org>  Thu, 10 Dec 2015 23:41:13 +0100
 
diff --git a/debian/debhelper.in/libc-bin.postinst b/debian/debhelper.in/libc-bin.postinst
index 8b10d45..50f3e79 100644
--- a/debian/debhelper.in/libc-bin.postinst
+++ b/debian/debhelper.in/libc-bin.postinst
@@ -12,7 +12,7 @@ if [ "$1" = "configure" ] && [ "$2" = "" ] ; then
   install_from_default /usr/share/libc-bin/nsswitch.conf /etc/nsswitch.conf
 fi
 
-if [ "$1" = "triggered" ]; then
+if [ "$1" = "triggered" ] || [ "$1" = "configure" ]; then
   ldconfig || ldconfig --verbose
   exit 0
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: