]> git.donarmstrong.com Git - debhelper.git/commitdiff
r344: * Patch from Pedro Guerreiro to make install-docs only be called on
authorjoey <joey>
Mon, 17 Apr 2000 02:08:25 +0000 (02:08 +0000)
committerjoey <joey>
Mon, 17 Apr 2000 02:08:25 +0000 (02:08 +0000)
     configure and remove/upgrade. Closes: #62513

autoscripts/postinst-doc-base
autoscripts/prerm-doc-base
debian/changelog

index a53ed7bfaca0ba9e5a8a3fdb9bd8f1c60d6e735d..fce4d17ead449181d93d2bc6b5333380836b49aa 100644 (file)
@@ -1,3 +1,3 @@
-if command -v install-docs >/dev/null 2>&1; then
-       install-docs -i /usr/share/doc-base/#PACKAGE#
+if [ "$1" = configure ] && command -v install-docs >/dev/null 2>&1; then
+       install-docs -i /usr/share/doc-base/#DOC-ID#
 fi
index 339361a54db4df149e0f1ac763616d7e68afe553..d2b07ebc05f3afafde5afe696d56f9567f079971 100644 (file)
@@ -1,3 +1,4 @@
-if command -v install-docs >/dev/null 2>&1; then
-       install-docs -r #PACKAGE#
+if [ "$1" = remove -o "$1" = upgrade ] && \
+   command -v install-docs >/dev/null 2>&1; then
+       install-docs -r #DOC-ID#
 fi
index eb0c4dd8477c9522794aae1c8f9965b3af5c7cce..a8b7c62ec1e694e7930acb221190c6d2d6080eac 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (2.0.93) unstable; urgency=low
+
+  * Patch from Pedro Guerreiro to make install-docs only be called on
+    configure and remove/upgrade. Closes: #62513
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 16 Apr 2000 19:05:52 -0700
+
 debhelper (2.0.92) unstable; urgency=low
 
   * Detect changelog parse failures and use a better error message.