post_install() {
    KERNEL_VERSION='2.6.39-LinHES'
    depmod $KERNEL_VERSION
    echo 'In order to use nvidia module, reboot the system.'
}

post_upgrade() {
    KERNEL_VERSION='2.6.39-LinHES'
    depmod $KERNEL_VERSION
}

post_remove() {
    KERNEL_VERSION='2.6.39-LinHES'
    depmod $KERNEL_VERSION
}