PKGBUILDs/extra/nvidia/nvidia.install
2009-10-09 21:23:22 -05:00

14 lines
280 B
Text

post_install() {
KERNEL_VERSION='2.6.30-ARCH'
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.30-ARCH'
depmod $KERNEL_VERSION
}