From 921b93d3dde7824af7a3dbc5e2df51e733938c8d Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 17 Apr 2000 02:08:25 +0000 Subject: r344: * Patch from Pedro Guerreiro to make install-docs only be called on configure and remove/upgrade. Closes: #62513 --- autoscripts/prerm-doc-base | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'autoscripts/prerm-doc-base') diff --git a/autoscripts/prerm-doc-base b/autoscripts/prerm-doc-base index 339361a5..d2b07ebc 100644 --- a/autoscripts/prerm-doc-base +++ b/autoscripts/prerm-doc-base @@ -1,3 +1,4 @@ -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 -- cgit v1.2.3