diff options
author | joey <joey> | 2000-04-17 02:08:25 +0000 |
---|---|---|
committer | joey <joey> | 2000-04-17 02:08:25 +0000 |
commit | 921b93d3dde7824af7a3dbc5e2df51e733938c8d (patch) | |
tree | 002570c0cc104f0c37318047fde31402589f6ee8 /autoscripts/prerm-doc-base | |
parent | 705be431f33d24a3ecc3b2de9d527f6768a6878f (diff) |
r344: * Patch from Pedro Guerreiro to make install-docs only be called on
configure and remove/upgrade. Closes: #62513
Diffstat (limited to 'autoscripts/prerm-doc-base')
-rw-r--r-- | autoscripts/prerm-doc-base | 5 |
1 files changed, 3 insertions, 2 deletions
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 |