#!/bin/sh set -e if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/xsane ]; then rm -f /usr/doc/xsane fi if [ "$1" = "upgrade" -o "$1" = "remove" ]; then if command -v install-docs >/dev/null 2>&1; then install-docs -r xsane fi fi