From 28529fefc594bf968ca30905a5a2d6c9ae1d6f3c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 23 Aug 2014 01:36:15 -0300 Subject: add modifications from coadde and lukeshu contributions for linux-libre* and dependencies --- libre/vhba-module-parabola-grsec/vhba-module.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libre/vhba-module-parabola-grsec/vhba-module.install (limited to 'libre/vhba-module-parabola-grsec/vhba-module.install') diff --git a/libre/vhba-module-parabola-grsec/vhba-module.install b/libre/vhba-module-parabola-grsec/vhba-module.install new file mode 100644 index 000000000..04d26b27b --- /dev/null +++ b/libre/vhba-module-parabola-grsec/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