summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-modules
diff options
context:
space:
mode:
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 7abe0c01..fdf249ef 100644
--- a/autoscripts/postrm-modules
+++ b/autoscripts/postrm-modules
@@ -1 +1,3 @@
-update-modules
+if [ -x /sbin/update-modules ]; then
+ update-modules
+fi