#!/bin/sh set -e if [ \( "$1" = upgrade -o "$1" = remove \) -a -L /usr/doc/lockfile-progs ] then rm -f /usr/doc/lockfile-progs fi