diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-08-20 21:33:52 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-08-20 21:33:52 -0400 |
commit | abea971649ac7e7e72893eb53aae2a6389a66106 (patch) | |
tree | d4c1fa1dcd7f4699c1ddbd100f6064b514a5fbe0 /libre/vhba-module-parabola/vhba-module.install | |
parent | 92f0fa3c89a53b4034a5928bb57935279ceeae68 (diff) | |
download | abslibre-abea971649ac7e7e72893eb53aae2a6389a66106.tar.gz abslibre-abea971649ac7e7e72893eb53aae2a6389a66106.tar.bz2 abslibre-abea971649ac7e7e72893eb53aae2a6389a66106.zip |
Rename all the kernel-depending packages.
Diffstat (limited to 'libre/vhba-module-parabola/vhba-module.install')
-rw-r--r-- | libre/vhba-module-parabola/vhba-module.install | 20 |
1 files changed, 20 insertions, 0 deletions
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: |