summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-modules
diff options
context:
space:
mode:
authorjoey <joey>2001-06-10 19:25:01 +0000
committerjoey <joey>2001-06-10 19:25:01 +0000
commite8b9fc5324e8c645d0c18d165e4b7f7bc94c8242 (patch)
tree38e32dd730eac58a21cbb4e1fd5aff58fe5587ad /autoscripts/postinst-modules
parent6cd2268d48bd9ba6ec8dd44b39a52cdbdb069792 (diff)
r477: * Check that update-modules is present before running it, since modutils
is not essential. Closes: #100430
Diffstat (limited to 'autoscripts/postinst-modules')
-rw-r--r--autoscripts/postinst-modules2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules
index a7e7c77..b25a1c1 100644
--- a/autoscripts/postinst-modules
+++ b/autoscripts/postinst-modules
@@ -1,3 +1,3 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" -a -x /sbin/update-modules ]; then
update-modules
fi