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

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

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