summarylogtreecommitdiffstats
path: root/xtables-addons-rawnat.install
blob: b49fe6130f6875fcdbaeae7ed53f9439edafde8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  kernver="`pacman -Ql linux|gawk 'match($0, /^(.*)modules\/([0-9.-]+-ARCH)\/$/, a) {print a[2]}'`"
  echo -e "Probe modules"
  depmod ${kernver}
}

post_remove() {
  post_install
}

post_upgrade() {
  post_install
}