summaryrefslogtreecommitdiff
path: root/community/vhba-module/vhba-module.install
blob: d6e4d08d791614a926f106f4cfc2e41d8f32f9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
_updatemod() {
  echo "  > Updating module dependencies..."
  EXTRAMODULES='extramodules-3.6-ARCH'
  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}

post_install() {
  post_upgrade
}

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

post_remove() {
  _updatemod
  groupdel cdemu
}

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