From 084815258f457f7a41934549b52a63ba34b759e1 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 8 Dec 2005 18:08:52 +0000 Subject: r1827: releasing version 5.0.9 --- autoscripts/postinst-modules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'autoscripts/postinst-modules') 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 -- cgit v1.2.3