diff options
author | Konstantin Shalygin | 2018-08-07 19:35:07 +0700 |
---|---|---|
committer | Konstantin Shalygin | 2018-08-07 19:35:07 +0700 |
commit | ef062104a4c3722edec636a506bfd57b0649bbe9 (patch) | |
tree | 674a7bf6bc57cf939dd229c3bcd6c2613e9befc0 | |
parent | f77dec8e4559bc5a6d470c1b9973f53007a9a8f5 (diff) | |
download | aur-ef062104a4c3722edec636a506bfd57b0649bbe9.tar.gz |
Update scripts due archlinux kernel PKGBUILD changes.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | ipt_iftag.install | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon Nov 13 08:41:11 UTC 2017 +# Tue Aug 7 12:35:00 UTC 2018 pkgbase = ipt_iftag pkgdesc = Netfilter extension that can operate on groups of interfaces. - pkgver = 6.04d141a + pkgver = 9.abea132 pkgrel = 1 url = https://github.com/vel21ripn/ipt_iftag install = ipt_iftag.install @@ -2,7 +2,7 @@ # Contributor: Shalygin Konstantin <k0ste@k0ste.ru> pkgname='ipt_iftag' -pkgver=6.04d141a +pkgver=9.abea132 pkgrel=1 pkgdesc='Netfilter extension that can operate on groups of interfaces.' arch=('any') @@ -14,7 +14,7 @@ source=("${pkgname}::git+${url}") sha256sums=('SKIP') install="${pkgname}.install" _linux_custom="ARCH" -_kernver="`pacman -Ql linux| awk '/(\/modules\/)([0-9.-])+-'${_linux_custom}'\/$/ {print $2}'`" +_kernver="`pacman -Ql linux| awk '/(\/modules\/)([0-9.-])+-(.*)-'${_linux_custom}'\/$/ {print $2}'`" pkgver() { cd "${srcdir}/${pkgname}" diff --git a/ipt_iftag.install b/ipt_iftag.install index 0bddbd3b8950..4ce6a8b84a05 100644 --- a/ipt_iftag.install +++ b/ipt_iftag.install @@ -1,6 +1,6 @@ post_install() { linux_custom="ARCH" - kernver="`pacman -Ql linux|gawk 'match($0, /^(.*)modules\/([0-9.-]+-'${linux_custom}')\/$/, a) {print a[2]}'`" + kernver="`pacman -Ql linux|gawk 'match($0, /^(.*)modules\/([0-9.-]+-(.*)-'${linux_custom}')\/$/, a) {print a[2]}'`" echo -e "Probe modules" depmod ${kernver} } |