[Pkg-cracklib-commits] [SCM] Git repository for pkg-cracklib branch, lenny-backports, updated. debian/2.8.16-2-22-g372d8c9

Jan Dittberner jandd at debian.org
Tue Nov 2 20:43:23 UTC 2010


The following commit has been merged in the lenny-backports branch:
commit 5dbb559fe6c5580c21a37c6fc9965d5d85f8449f
Author: Jan Dittberner <jandd at debian.org>
Date:   Tue Nov 2 18:17:53 2010 +0100

    call install-docs in libcrack2 and cracklib-runtime postinst and prerm scripts

diff --git a/debian/changelog b/debian/changelog
index 7ccb1aa..ee4f361 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ cracklib2 (2.8.16-4~bpo50+1) lenny-backports; urgency=low
   * Rebuild for lenny-backports.
   * use source format 3.0 (quilt)
   * change debhelper dependency version to 7.0.50~
+  * call install-docs in libcrack2 and cracklib-runtime postinst and
+    prerm scripts
 
  -- Jan Dittberner <jandd at debian.org>  Tue, 02 Nov 2010 17:37:59 +0100
 
diff --git a/debian/cracklib-runtime.postinst b/debian/cracklib-runtime.postinst
index f5ed391..dd52eb0 100644
--- a/debian/cracklib-runtime.postinst
+++ b/debian/cracklib-runtime.postinst
@@ -25,6 +25,11 @@ if dpkg --compare-versions "$2" le "2.7-17"; then
     fi
 fi
 
+# call install-docs
+if [ -x /usr/sbin/install-docs ]; then
+    /usr/sbin/install-docs -i /usr/share/doc-base/cracklib-runtime
+fi
+
 #DEBHELPER#
 
 exit 0
diff --git a/debian/cracklib-runtime.prerm b/debian/cracklib-runtime.prerm
new file mode 100644
index 0000000..2feb814
--- /dev/null
+++ b/debian/cracklib-runtime.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ -x /usr/sbin/install-docs ]; then
+    /usr/sbin/install-docs -r cracklib-runtime || true
+fi
+
+#DEBHELPER#
diff --git a/debian/libcrack2.postinst b/debian/libcrack2.postinst
new file mode 100644
index 0000000..cf48ec4
--- /dev/null
+++ b/debian/libcrack2.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -x /usr/sbin/install-docs ]; then
+    /usr/sbin/install-docs -i /usr/share/doc-base/libcrack2
+fi
+
+#DEBHELPER#
diff --git a/debian/libcrack2.prerm b/debian/libcrack2.prerm
new file mode 100644
index 0000000..a53dfb2
--- /dev/null
+++ b/debian/libcrack2.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ -x /usr/sbin/install-docs ]; then
+    /usr/sbin/install-docs -r libcrack2 || true
+fi
+
+#DEBHELPER#

-- 
Git repository for pkg-cracklib



More information about the Pkg-cracklib-commits mailing list