configure and remove/upgrade. Closes: #62513
-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
-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
+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 <joeyh@debian.org> 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.