summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-doc-base
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/prerm-doc-base')
-rw-r--r--autoscripts/prerm-doc-base2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/prerm-doc-base b/autoscripts/prerm-doc-base
index 7ec95b7..c57d999 100644
--- a/autoscripts/prerm-doc-base
+++ b/autoscripts/prerm-doc-base
@@ -1,4 +1,4 @@
-if [ "$1" = remove -o "$1" = upgrade ] && \
+if [ "$1" = remove ] || [ "$1" = upgrade ] && \
which install-docs >/dev/null 2>&1; then
install-docs -r #DOC-ID#
fi