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

post_upgrade() {
	post_install
	rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
}

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