aboutsummaryrefslogtreecommitdiff
path: root/system/tp_smapi/doinst.sh
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2010-05-13 00:42:02 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:42:02 +0200
commitb1a51046dea92c1bbc161580f5ec0f6e437abe35 (patch)
tree17be274758e649c9cad935c697cccb7d768afee2 /system/tp_smapi/doinst.sh
parent66b5b99cb920d0b08dba12df072d70e37837a350 (diff)
system/tp_smapi: Updated for version 0.40
Diffstat (limited to 'system/tp_smapi/doinst.sh')
-rw-r--r--system/tp_smapi/doinst.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/tp_smapi/doinst.sh b/system/tp_smapi/doinst.sh
index f61efdf685234..6510094161e06 100644
--- a/system/tp_smapi/doinst.sh
+++ b/system/tp_smapi/doinst.sh
@@ -1,2 +1,4 @@
-chroot . /sbin/depmod -a
-
+# Re-generate modules.dep and map files.
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a @KERNEL@ 1> /dev/null 2> /dev/null
+fi