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