# kernelver=2.6.13-ARCHIE # arg 1: the new package version post_install() { echo "==> In order to use the firmware you have to agree to Intel's license located in" echo "==> /lib/firmware/LICENSE-ipw2100 else please remove this package" depmod -a $kernelver } # arg 1: the new package version # arg 2: the old package version post_upgrade() { post_install $1 } # arg 1: the old package version post_remove() { depmod -a $kernelver } op=$1 shift $op $*