diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-28 03:18:12 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-28 03:18:12 -0300 |
commit | 587875af278dfc6899376afa44e38f3158e0137e (patch) | |
tree | 1a911c5d76f9489ffdfd359db7ac9d1f379082f5 /libre/vhba-module-parabola/kmod.install | |
parent | 1f6670940a9e80aa1cf18b9f3b341733ccb76d28 (diff) | |
download | abslibre-587875af278dfc6899376afa44e38f3158e0137e.tar.gz abslibre-587875af278dfc6899376afa44e38f3158e0137e.tar.bz2 abslibre-587875af278dfc6899376afa44e38f3158e0137e.zip |
vhba-module: rebuild and fixing pkg
Diffstat (limited to 'libre/vhba-module-parabola/kmod.install')
-rw-r--r-- | libre/vhba-module-parabola/kmod.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libre/vhba-module-parabola/kmod.install b/libre/vhba-module-parabola/kmod.install new file mode 100644 index 000000000..08ecfbfba --- /dev/null +++ b/libre/vhba-module-parabola/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 +} |