From 0c269a50203b4e4bcd2f8b59cd26c800346ff8c0 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 12 Jan 2015 21:36:03 +0000
Subject: nvidia: recompile for 3.18.2

nvidia.install: addroot cron job to run xconfig
---
 abs/core/nvidia/PKGBUILD       | 2 +-
 abs/core/nvidia/__changelog    | 1 +
 abs/core/nvidia/nvidia.install | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 abs/core/nvidia/__changelog

diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD
index e571ddc..aa26b1b 100644
--- a/abs/core/nvidia/PKGBUILD
+++ b/abs/core/nvidia/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=nvidia
 pkgver=343.36
 _extramodules=extramodules-3.18-ARCH
-pkgrel=5
+pkgrel=6
 pkgdesc="NVIDIA drivers for linux"
 arch=('i686' 'x86_64')
 url="http://www.nvidia.com/"
diff --git a/abs/core/nvidia/__changelog b/abs/core/nvidia/__changelog
new file mode 100644
index 0000000..a8f8250
--- /dev/null
+++ b/abs/core/nvidia/__changelog
@@ -0,0 +1 @@
+nvidia.install: post_upgrade add root cron job to run xconfig.cron
diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install
index df14799..af0670c 100644
--- a/abs/core/nvidia/nvidia.install
+++ b/abs/core/nvidia/nvidia.install
@@ -10,6 +10,8 @@ post_upgrade() {
     if  [ "$(vercmp $2 310.19-2)" -lt 0 ]; then
         echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx'
     fi
+    echo "* * * * *    /usr/bin/bash /usr/MythVantage/bin/xconfig.cron" >> /var/spool/cron/root
+    echo "root" >> /var/spool/cron/cron.update
 }
 
 post_remove() {
-- 
cgit v0.12

