# arg 1: the new package version post_install() { ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs } # arg 1: the new package version # arg 2: the old package version # arg 1: the old package version post_remove() { rm -fr /sbin/mount.ntfs } op=$1 shift $op $*