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