post_install() { echo "" echo "running depmod..." depmod `echo $1 | cut -d _ -f 1 --complement | cut -d- -f 1 | sed 's/_/-/g'` } post_upgrade() { echo "" echo "running depmod..." depmod `echo $1 | cut -d _ -f 1 --complement | cut -d- -f 1 | sed 's/_/-/g'` }