1 2 3 4 5 6 7
#!/bin/sh -e $PKG=libbaz1 if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PKG ]; then rm -f /usr/doc/$PKG fi