summaryrefslogtreecommitdiff
path: root/extra/nvidia-304xx/nvidia.install
blob: 4cacaa79d12ec15f8e79f481194b03a7ab60e9a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
    EXTRAMODULES='extramodules-3.6-ARCH'
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
    echo 'In order to use nvidia module, reboot the system.'
}

post_upgrade() {
    EXTRAMODULES='extramodules-3.6-ARCH'
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}

post_remove() {
    EXTRAMODULES='extramodules-3.6-ARCH'
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}