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

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

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