diff --git a/PKGBUILD b/PKGBUILD index 00a372e..af90158 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,12 +5,12 @@ # Maintainer : Thomas Baechler _linuxprefix=linux-xanmod -_extramodules=$(find /usr/lib/modules -type d -iname 6.2.1*xanmod* | rev | cut -d "/" -f1 | rev) +_extramodules=$(find /usr/lib/modules -type d -iname 6.2.2*xanmod* | rev | cut -d "/" -f1 | rev) pkgname=$_linuxprefix-nvidia-470xx pkgdesc="NVIDIA drivers for linux" pkgver=470.161.03 -pkgrel=6211 +pkgrel=6221 arch=('x86_64') url="http://www.nvidia.com/" license=('custom') @@ -36,7 +36,7 @@ prepare() { } build() { - _kernver=$(find /usr/lib/modules -type d -iname 6.2.1*xanmod* | rev | cut -d "/" -f1 | rev) + _kernver=$(find /usr/lib/modules -type d -iname 6.2.2*xanmod* | rev | cut -d "/" -f1 | rev) cd "${_pkg}" make -C kernel SYSSRC=/usr/lib/modules/"${_kernver}/build" module diff --git a/nvidia.install b/nvidia.install index 2a12b1c..7e24bc6 100644 --- a/nvidia.install +++ b/nvidia.install @@ -1,7 +1,7 @@ -EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.2.1*xanmod* | rev | cut -d "/" -f1 | rev) +EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.2.2*xanmod* | rev | cut -d "/" -f1 | rev) post_install() { - depmod $(find /usr/lib/modules -type d -iname 6.2.1*xanmod* | rev | cut -d "/" -f1 | rev) + depmod $(find /usr/lib/modules -type d -iname 6.2.2*xanmod* | rev | cut -d "/" -f1 | rev) } post_upgrade() {