summaryrefslogtreecommitdiff
path: root/libre/vhba-module/kmod.install
blob: 08ecfbfba04ac7b0054a1bb01a7899437ca1cf81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
_EXTRAMODULES=

_post_install() {
	echo ">>> Updating module dependencies. Please wait ..."
	depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1
}

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

post_upgrade() {
	post_install
}

post_remove() {
	_post_install
	groupdel cdemu
}