summaryrefslogtreecommitdiff
path: root/misc/kvm/doinst.sh
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-05-11 22:54:29 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:54:29 +0200
commita1b3f8c001f48f03181d382188644f9fc0a9067a (patch)
tree29da3ce961f86fa6679f2c3a14fe6a957206daa1 /misc/kvm/doinst.sh
parent7f0be1b44aa8ff87ffb7b3ea4ae25d982f91fddb (diff)
downloadslackbuilds-a1b3f8c001f48f03181d382188644f9fc0a9067a.tar.gz
misc/kvm: Added to 12.1 repository
Diffstat (limited to 'misc/kvm/doinst.sh')
-rw-r--r--misc/kvm/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/kvm/doinst.sh b/misc/kvm/doinst.sh
new file mode 100644
index 0000000000..e759a1ccea
--- /dev/null
+++ b/misc/kvm/doinst.sh
@@ -0,0 +1,4 @@
+# Re-generate modules.dep and map files.
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a 1> /dev/null 2> /dev/null
+fi