From abea971649ac7e7e72893eb53aae2a6389a66106 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 20 Aug 2014 21:33:52 -0400 Subject: Rename all the kernel-depending packages. --- libre/vhba-module-parabola/vhba-module.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libre/vhba-module-parabola/vhba-module.install (limited to 'libre/vhba-module-parabola/vhba-module.install') diff --git a/libre/vhba-module-parabola/vhba-module.install b/libre/vhba-module-parabola/vhba-module.install new file mode 100644 index 000000000..04d26b27b --- /dev/null +++ b/libre/vhba-module-parabola/vhba-module.install @@ -0,0 +1,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: -- cgit v1.2.3