diff options
Diffstat (limited to 'autoscripts/postinst-modules')
-rw-r--r-- | autoscripts/postinst-modules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules index f2342da4..8d2c4cbc 100644 --- a/autoscripts/postinst-modules +++ b/autoscripts/postinst-modules @@ -1,3 +1,3 @@ -if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then +if [ "$1" = "configure" ] && [ -x "`which update-modules 2>/dev/null`" ]; then update-modules >/dev/null || [ "$?" = 3 ] fi |