diff options
Diffstat (limited to 'autoscripts/prerm-doc-base')
-rw-r--r-- | autoscripts/prerm-doc-base | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoscripts/prerm-doc-base b/autoscripts/prerm-doc-base index 9678003e..c57d999a 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 +if [ "$1" = remove ] || [ "$1" = upgrade ] && \ + which install-docs >/dev/null 2>&1; then install-docs -r #DOC-ID# fi |