X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-doc-base;h=39265721046586c56279466d69207afed7a9558f;hb=99a3ec036f753431d19b2032ab9d978a269b85b2;hp=a53ed7bfaca0ba9e5a8a3fdb9bd8f1c60d6e735d;hpb=75275ded89f0b456e7e396008af153d26bb35626;p=debhelper.git diff --git a/autoscripts/postinst-doc-base b/autoscripts/postinst-doc-base index a53ed7b..3926572 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 ] && which install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/#DOC-ID# fi