From: joey Date: Mon, 17 Apr 2000 02:08:25 +0000 (+0000) Subject: r344: * Patch from Pedro Guerreiro to make install-docs only be called on X-Git-Tag: version_2.0.101~255 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=921b93d3dde7824af7a3dbc5e2df51e733938c8d;p=debhelper.git r344: * Patch from Pedro Guerreiro to make install-docs only be called on configure and remove/upgrade. Closes: #62513 --- diff --git a/autoscripts/postinst-doc-base b/autoscripts/postinst-doc-base index a53ed7b..fce4d17 100644 --- a/autoscripts/postinst-doc-base +++ b/autoscripts/postinst-doc-base @@ -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 diff --git a/autoscripts/prerm-doc-base b/autoscripts/prerm-doc-base index 339361a..d2b07eb 100644 --- a/autoscripts/prerm-doc-base +++ b/autoscripts/prerm-doc-base @@ -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 diff --git a/debian/changelog b/debian/changelog index eb0c4dd..a8b7c62 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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.