From aa92e002f0df7b5e2341a530c390c0279fb437ff Mon Sep 17 00:00:00 2001 From: gitbarnabedikartola Date: Tue, 2 Jan 2024 02:39:36 +0000 Subject: [PATCH] new version --- PKGBUILD | 6 +++--- bbswitch.install | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index b6e1908..88524d8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,11 +2,11 @@ # Maintainer: Philip Müller _linuxprefix=linux-xanmod -_extramodules=$(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev) +_extramodules=$(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev) pkgname=$_linuxprefix-bbswitch _pkgname=bbswitch pkgver=0.8 -pkgrel=66810 +pkgrel=66910 pkgdesc="kernel module allowing to switch dedicated graphics card on Optimus laptops" arch=('x86_64') url="http://github.com/Bumblebee-Project/bbswitch" @@ -29,7 +29,7 @@ prepare() { } build() { - _kernver=$(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev) + _kernver=$(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev) cd ${_pkgname}-${pkgver} # KDIR is necessary even when cleaning diff --git a/bbswitch.install b/bbswitch.install index b284d6e..d0d5205 100644 --- a/bbswitch.install +++ b/bbswitch.install @@ -1,13 +1,13 @@ -EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev) +EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev) post_install() { - depmod $(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev) + depmod $(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev) } post_upgrade() { - depmod $(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev) + depmod $(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev) } post_remove() { - depmod $(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev) + depmod $(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev) }