From e8b9fc5324e8c645d0c18d165e4b7f7bc94c8242 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 10 Jun 2001 19:25:01 +0000 Subject: r477: * Check that update-modules is present before running it, since modutils is not essential. Closes: #100430 --- autoscripts/postinst-modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoscripts/postinst-modules') diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules index a7e7c77d..b25a1c13 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 -- cgit v1.2.3