summaryrefslogtreecommitdiff
path: root/community/cdfs/cdfs.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/cdfs/cdfs.install')
-rw-r--r--community/cdfs/cdfs.install9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/cdfs/cdfs.install b/community/cdfs/cdfs.install
index 3693d60ed..d20b4c664 100644
--- a/community/cdfs/cdfs.install
+++ b/community/cdfs/cdfs.install
@@ -1,11 +1,14 @@
post_install() {
- /sbin/depmod -a
+ EXTRAMODULES='extramodules-3.1-ARCH'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_upgrade() {
- /sbin/depmod -a
+ EXTRAMODULES='extramodules-3.1-ARCH'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
post_remove() {
- /sbin/depmod -a
+ EXTRAMODULES='extramodules-3.1-ARCH'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
}