From 3f2a8eca7c7bdcd7bcdc9b67e00f02cdef9002bf Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 1 Sep 2014 07:52:09 -0300 Subject: remove parabola suffix and add complex pkgrel on kernel module packages --- libre/vhba-module/kmod.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libre/vhba-module/kmod.install (limited to 'libre/vhba-module/kmod.install') diff --git a/libre/vhba-module/kmod.install b/libre/vhba-module/kmod.install new file mode 100644 index 000000000..08ecfbfba --- /dev/null +++ b/libre/vhba-module/kmod.install @@ -0,0 +1,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 +} -- cgit v1.2.3