[Pkg-openldap-devel] r964 - openldap/trunk/debian

Russ Allbery rra at alioth.debian.org
Fri Dec 21 22:39:33 UTC 2007


Author: rra
Date: 2007-12-21 22:39:33 +0000 (Fri, 21 Dec 2007)
New Revision: 964

Added:
   openldap/trunk/debian/libldap-2.4-2.postinst
Log:
Because of the manual shlibs file and the trick we're pulling with
libldap_r, we don't run dh_makeshlibs, which means that debhelper
doesn't handle running ldconfig for us.  So we have to do it by hand.


Added: openldap/trunk/debian/libldap-2.4-2.postinst
===================================================================
--- openldap/trunk/debian/libldap-2.4-2.postinst	                        (rev 0)
+++ openldap/trunk/debian/libldap-2.4-2.postinst	2007-12-21 22:39:33 UTC (rev 964)
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Run ldconfig after installing the shared library.  We have to do this
+# manually rather than letting dh_makeshlibs deal with it because
+# dh_makeshlibs can't cope with the trick we're pulling with libldap_r.
+
+if [ "$1" = "configure" ]; then
+    ldconfig
+fi
+
+#DEBHELPER#
+
+exit 0


Property changes on: openldap/trunk/debian/libldap-2.4-2.postinst
___________________________________________________________________
Name: svn:executabe
   + *




More information about the Pkg-openldap-devel mailing list