summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-doc-base
diff options
context:
space:
mode:
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