summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpider.007 / Sjon2015-08-10 18:56:23 +0200
committerSpider.007 / Sjon2015-08-10 18:56:23 +0200
commit9c434a3022e401abf968586ccbc1ce2346eb79e4 (patch)
tree8fb545554edaac855242d1ca65615a9ed61b8b83
parent393d7b7fcb14cd1c93949aae0818c3cbbc89ba89 (diff)
downloadaur-9c434a3022e401abf968586ccbc1ce2346eb79e4.tar.gz
fix for `uname -r`=3.18.7.201502200813-1-grsec
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b38709b77d2..f5a0edf75df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ build() {
package() {
cd $srcdir/$pkgname-$pkgver
- if [[ `uname -r` =~ ^([0-9]\.[0-9]+)\.[0-9]+-[0-9]+(-.*)$ ]]
+ if [[ `uname -r` =~ ^([0-9.]+)\.[0-9]+-[0-9]+(-.*)$ ]]
then
install -Dm 0744 module/netatop.ko $pkgdir/usr/lib/modules/extramodules-${BASH_REMATCH[1]}${BASH_REMATCH[2]}/netatop.ko
else