diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-23 01:36:15 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-23 01:36:15 -0300 |
commit | 28529fefc594bf968ca30905a5a2d6c9ae1d6f3c (patch) | |
tree | 4c2428f259eb8d14153d27c38659293f4a970f03 /libre/vhba-module-parabola-grsec/vhba-module.install | |
parent | b1852341008bbce6f23ebc4c300112d98c96ab8d (diff) |
add modifications from coadde and lukeshu contributions for linux-libre* and dependencies
Diffstat (limited to 'libre/vhba-module-parabola-grsec/vhba-module.install')
-rw-r--r-- | libre/vhba-module-parabola-grsec/vhba-module.install | 20 |
1 files changed, 20 insertions, 0 deletions
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: |