summaryrefslogtreecommitdiff
path: root/pcr/vhba-module-parabola-lts/vhba-module.install
blob: 04d26b27bdd90493bffaf5d78be623bde0974927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
_updatemod() {
  _extramodules=THIS_IS_AUTOMATICALLY_SET_BY_PKGBUILD
  depmod $(cat /usr/lib/modules/${_extramodules}/version)
}

post_install() {
  getent group cdemu &>/dev/null || groupadd -r cdemu
  _updatemod
}

post_upgrade() {
  post_install
}

post_remove() {
  _updatemod
  groupdel cdemu
}

# vim:set ts=2 sw=2 et: