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