summaryrefslogtreecommitdiff
path: root/libre/bbswitch-libre/bbswitch.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-30 14:08:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-30 14:08:11 -0300
commita04a3588ccc6420beaee6ba3a5058d96ba34bd82 (patch)
treec5fe93ddb6a9b6fbc8acccad4080d72837159a36 /libre/bbswitch-libre/bbswitch.install
parent9116876b712f85cfb2b31feb612a209cd766e947 (diff)
bbswitch-libre: adding new package to [libre] repo
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
+}