diff options
author | root <root@rshg054.dnsready.net> | 2011-11-16 23:15:07 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-16 23:15:07 +0000 |
commit | b3531e5acd3f55613eddde5591eb2e880fa96ed8 (patch) | |
tree | 78746d9e8f3a8cc99ac0e66b5188c0647059adde /extra/nouveau-drm-lts/nouveau-drm.install | |
parent | 91ef4ffb2e0ba850501329a8bbc0b326788bd58c (diff) |
Wed Nov 16 23:15:06 UTC 2011
Diffstat (limited to 'extra/nouveau-drm-lts/nouveau-drm.install')
-rw-r--r-- | extra/nouveau-drm-lts/nouveau-drm.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/nouveau-drm-lts/nouveau-drm.install b/extra/nouveau-drm-lts/nouveau-drm.install index beadaa563..2aa581d47 100644 --- a/extra/nouveau-drm-lts/nouveau-drm.install +++ b/extra/nouveau-drm-lts/nouveau-drm.install @@ -1,6 +1,6 @@ post_install() { - KERNEL_VERSION='2.6.32-lts' - depmod -v $KERNEL_VERSION > /dev/null 2>&1 + EXTRAMODULES='extramodules-2.6.32-lts' + depmod $(cat /lib/modules/$EXTRAMODULES/version) echo "if you are running kms in early mode please rebuild your initrd" } @@ -10,7 +10,7 @@ post_upgrade() { } post_remove() { - KERNEL_VERSION='2.6.32-lts' - depmod -v $KERNEL_VERSION > /dev/null 2>&1 + EXTRAMODULES='extramodules-2.6.32-lts' + depmod $(cat /lib/modules/$EXTRAMODULES/version) } |