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
}