summaryrefslogtreecommitdiff
path: root/system/kvm/doinst.sh
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-05-13 01:00:55 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 01:00:55 +0200
commit16c384a4fe5c626d3a7f541696aa319331575414 (patch)
tree4e11abe3b17f7030f2e82f880fd5d51195c3d18f /system/kvm/doinst.sh
parente17bff9a863642bf6edcb1b191a793e2831f59aa (diff)
downloadslackbuilds-16c384a4fe5c626d3a7f541696aa319331575414.tar.gz
system/kvm: Added to 13.0 repository
Diffstat (limited to 'system/kvm/doinst.sh')
-rw-r--r--system/kvm/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/kvm/doinst.sh b/system/kvm/doinst.sh
new file mode 100644
index 0000000000..a91532f67e
--- /dev/null
+++ b/system/kvm/doinst.sh
@@ -0,0 +1,4 @@
+# Re-generate modules.dep and map files.
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -ae @KERNEL@ 1> /dev/null 2> /dev/null
+fi