1 2 3 4 5 6 7 8 9 10 11
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'` }