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

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

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