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

post_upgrade() {
    echo "* * * * *    /usr/bin/bash /usr/MythVantage/bin/xconfig.cron" >> /var/spool/cron/root
    echo "root" >> /var/spool/cron/cron.update
    post_install
}

post_remove() {
    post_install
}