summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-doc-base
diff options
context:
space:
mode:
authorjoey <joey>2000-04-17 02:08:25 +0000
committerjoey <joey>2000-04-17 02:08:25 +0000
commit921b93d3dde7824af7a3dbc5e2df51e733938c8d (patch)
tree002570c0cc104f0c37318047fde31402589f6ee8 /autoscripts/postinst-doc-base
parent705be431f33d24a3ecc3b2de9d527f6768a6878f (diff)
r344: * Patch from Pedro Guerreiro to make install-docs only be called on
configure and remove/upgrade. Closes: #62513
Diffstat (limited to 'autoscripts/postinst-doc-base')
-rw-r--r--autoscripts/postinst-doc-base4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postinst-doc-base b/autoscripts/postinst-doc-base
index a53ed7bf..fce4d17e 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