summaryrefslogtreecommitdiff
path: root/libre/bbswitch-libre/bbswitch.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/bbswitch-libre/bbswitch.install')
-rw-r--r--libre/bbswitch-libre/bbswitch.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/bbswitch-libre/bbswitch.install b/libre/bbswitch-libre/bbswitch.install
new file mode 100644
index 000000000..ed6f7348d
--- /dev/null
+++ b/libre/bbswitch-libre/bbswitch.install
@@ -0,0 +1,12 @@
+post_install() {
+ EXTRAMODULES='extramodules-3.8-LIBRE'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}