summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-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/postrm-modules
parent6cd2268d48bd9ba6ec8dd44b39a52cdbdb069792 (diff)
r477: * Check that update-modules is present before running it, since modutils
is not essential. Closes: #100430
Diffstat (limited to 'autoscripts/postrm-modules')
-rw-r--r--autoscripts/postrm-modules4
1 files changed, 3 insertions, 1 deletions
diff --git a/autoscripts/postrm-modules b/autoscripts/postrm-modules
index 7abe0c0..fdf249e 100644
--- a/autoscripts/postrm-modules
+++ b/autoscripts/postrm-modules
@@ -1 +1,3 @@
-update-modules
+if [ -x /sbin/update-modules ]; then
+ update-modules
+fi