summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2005-12-08 18:08:52 +0000
committerjoey <joey>2005-12-08 18:08:52 +0000
commit084815258f457f7a41934549b52a63ba34b759e1 (patch)
treec8a6b184b02e3576ef8aaf30c50a36ed153fa82e /autoscripts
parentbbf4a3e5e7874150370b5d3ececb722686d1d732 (diff)
downloaddebhelper-084815258f457f7a41934549b52a63ba34b759e1.tar.gz
r1827: releasing version 5.0.95.0.9
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postinst-modules7
-rw-r--r--autoscripts/postrm-modules1
2 files changed, 6 insertions, 2 deletions
diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules
index 8d2c4cbc..11c206bc 100644
--- a/autoscripts/postinst-modules
+++ b/autoscripts/postinst-modules
@@ -1,3 +1,6 @@
-if [ "$1" = "configure" ] && [ -x "`which update-modules 2>/dev/null`" ]; then
- update-modules >/dev/null || [ "$?" = 3 ]
+if [ "$1" = "configure" ]; then
+ if [ -x "`which update-modules 2>/dev/null`" ]; then
+ update-modules >/dev/null || [ "$?" = 3 ]
+ fi
+ depmod -a || true
fi
diff --git a/autoscripts/postrm-modules b/autoscripts/postrm-modules
index 35db8718..bcacb9f5 100644
--- a/autoscripts/postrm-modules
+++ b/autoscripts/postrm-modules
@@ -1,3 +1,4 @@
if [ -x "`which update-modules 2>/dev/null`" ]; then
update-modules >/dev/null || [ "$?" = 3 ]
fi
+depmod -a || true