summarylogtreecommitdiffstats
path: root/ipt_ndpi.install
diff options
context:
space:
mode:
Diffstat (limited to 'ipt_ndpi.install')
-rw-r--r--ipt_ndpi.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipt_ndpi.install b/ipt_ndpi.install
index 4ce6a8b84a05..47e5a2bfa5f6 100644
--- a/ipt_ndpi.install
+++ b/ipt_ndpi.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}
}