# arg 1: the new package version post_install() { ln -s /usr/lib/libraw1394.so.11.0.1 /usr/lib/libraw1394.so.8 } # arg 1: the new package version # arg 2: the old package version post_upgrade() { /bin/true } # arg 1: the old package version post_remove() { rm -fr /usr/lib/libraw1394.so.8 } op=$1 shift $op $*