]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-doc-base
r1607: * dh_installcatalogs: in prerm on upgrade, call update-catalog on the
[debhelper.git] / autoscripts / postinst-doc-base
index a53ed7bfaca0ba9e5a8a3fdb9bd8f1c60d6e735d..39265721046586c56279466d69207afed7a9558f 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 ] && which install-docs >/dev/null 2>&1; then
+       install-docs -i /usr/share/doc-base/#DOC-ID#
 fi