summarylogtreecommitdiffstats
path: root/riffa.install
diff options
context:
space:
mode:
authorAdrien Prost-Boucle2015-08-12 20:00:57 +0200
committerAdrien Prost-Boucle2015-08-12 20:00:57 +0200
commit64c9361035cb178c40349809451188270a31d0fc (patch)
tree05a4dac29d4101c732a04dc6ea10a588253e82dc /riffa.install
downloadaur-64c9361035cb178c40349809451188270a31d0fc.tar.gz
Initial commit
Diffstat (limited to 'riffa.install')
-rw-r--r--riffa.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/riffa.install b/riffa.install
new file mode 100644
index 000000000000..13fd69c616c1
--- /dev/null
+++ b/riffa.install
@@ -0,0 +1,19 @@
+
+_depmod() {
+ EXTRAMODULES=extramodules-4.1-ARCH
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+ echo '==> You must load the riffa kernel module before using Riffa: # modprobe riffa'
+ _depmod
+}
+
+post_upgrade() {
+ _depmod
+ echo '==> Manually reload the riffa kernel module to use the new version.'
+}
+
+post_remove() {
+ _depmod
+}