diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-07-08 20:51:23 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-07-08 20:51:23 -0500 |
commit | 7cffd3f39840ba78e88c393ab0622c0e4fa47223 (patch) | |
tree | 8cc1dce1b55870350ca7522dc2841f9851c365c4 /libre/vhba-module/kmod.install | |
parent | 38566d3c101b7e8b3450d7b5ac94507266ccb113 (diff) | |
download | abslibre-7cffd3f39840ba78e88c393ab0622c0e4fa47223.tar.gz abslibre-7cffd3f39840ba78e88c393ab0622c0e4fa47223.tar.bz2 abslibre-7cffd3f39840ba78e88c393ab0622c0e4fa47223.zip |
vhba-module-20170610-5.parabola1.basekernel4.11: updating version
Diffstat (limited to 'libre/vhba-module/kmod.install')
-rw-r--r-- | libre/vhba-module/kmod.install | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libre/vhba-module/kmod.install b/libre/vhba-module/kmod.install index 08ecfbfba..2c7652580 100644 --- a/libre/vhba-module/kmod.install +++ b/libre/vhba-module/kmod.install @@ -1,20 +1,15 @@ -_EXTRAMODULES= - -_post_install() { - echo ">>> Updating module dependencies. Please wait ..." - depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1 -} post_install() { - _post_install + post_upgrade $1 0 getent group cdemu &>/dev/null || groupadd -r cdemu } post_upgrade() { - post_install + _EXTRAMODULES=extramodules-4.11 + depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1 } post_remove() { - _post_install + post_upgrade $1 0 groupdel cdemu } |