if [ "$1" = remove -o "$1" = upgrade ] && \ command -v install-docs >/dev/null 2>&1; then install-docs -r #DOC-ID# fi