# kernelver=2.6.12-ARCHIE # arg 1: the new package version post_install() { post_upgrade } # arg 1: the new package version # arg 2: the old package version post_upgrade() { depmod -a $kernelver } # arg 1: the old package version pre_remove() { /bin/true } # arg 1: the old package version post_remove() { depmod -a $kernelver } op=$1 shift $op $*