summaryrefslogtreecommitdiff
path: root/libre/vhba-module-parabola/vhba-module.install
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-08-20 21:33:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-08-20 21:33:52 -0400
commitabea971649ac7e7e72893eb53aae2a6389a66106 (patch)
treed4c1fa1dcd7f4699c1ddbd100f6064b514a5fbe0 /libre/vhba-module-parabola/vhba-module.install
parent92f0fa3c89a53b4034a5928bb57935279ceeae68 (diff)
downloadabslibre-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.install20
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: