summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nvidia')
-rw-r--r--abs/core/nvidia/PKGBUILD2
-rw-r--r--abs/core/nvidia/__changelog1
-rw-r--r--abs/core/nvidia/nvidia.install2
3 files changed, 4 insertions, 1 deletions
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() {