summarylogtreecommitdiffstats
path: root/ipt_iftag.install
diff options
context:
space:
mode:
Diffstat (limited to 'ipt_iftag.install')
-rw-r--r--ipt_iftag.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipt_iftag.install b/ipt_iftag.install
index 4ce6a8b84a05..7e23df41c074 100644
--- a/ipt_iftag.install
+++ b/ipt_iftag.install
@@ -1,6 +1,7 @@
post_install() {
linux_custom="ARCH"
- kernver="`pacman -Ql linux|gawk 'match($0, /^(.*)modules\/([0-9.-]+-(.*)-'${linux_custom}')\/$/, a) {print a[2]}'`"
+ linux_localversion=""
+ kernver="`pacman -Ql linux${linux_localversion} | gawk 'match($0, /^(.*)modules\/([0-9.-]+-(.*)-'${linux_custom}')\/$/, a) {print a[2]}'`"
echo -e "Probe modules"
depmod ${kernver}
}