summaryrefslogtreecommitdiff
path: root/libre/tp_smapi-libre-lts/tp_smapi-lts.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-21 14:15:01 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-21 14:15:01 -0200
commit2193dcedd86bbecfbd200f4109f261a374d28f84 (patch)
treee0ff6cd578758dd8fcabe89e1bfb82ac887ea103 /libre/tp_smapi-libre-lts/tp_smapi-lts.install
parentea2a397658451d54c1303dca4410cda638e8e549 (diff)
downloadabslibre-2193dcedd86bbecfbd200f4109f261a374d28f84.tar.gz
abslibre-2193dcedd86bbecfbd200f4109f261a374d28f84.tar.bz2
abslibre-2193dcedd86bbecfbd200f4109f261a374d28f84.zip
tp_smapi-libre-lts: adding new package to [libre] repo
Diffstat (limited to 'libre/tp_smapi-libre-lts/tp_smapi-lts.install')
-rw-r--r--libre/tp_smapi-libre-lts/tp_smapi-lts.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/tp_smapi-libre-lts/tp_smapi-lts.install b/libre/tp_smapi-libre-lts/tp_smapi-lts.install
new file mode 100644
index 000000000..2723fead7
--- /dev/null
+++ b/libre/tp_smapi-libre-lts/tp_smapi-lts.install
@@ -0,0 +1,13 @@
+extramodules=/usr/lib/modules/extramodules-3.0-LIBRE-LTS
+
+post_install() {
+ depmod -v $(< "$extramodules/version") &>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}