diff options
author | joey <joey> | 2005-04-14 15:38:36 +0000 |
---|---|---|
committer | joey <joey> | 2005-04-14 15:38:36 +0000 |
commit | d5453631808c4af4f985f5dacc74b77b68624c30 (patch) | |
tree | 72fe3a7ac03b222385335e11c18091bfada4dbc6 /autoscripts | |
parent | c85747dc1875ed610886bf891b0bebd5579d81de (diff) | |
download | debhelper-d5453631808c4af4f985f5dacc74b77b68624c30.tar.gz |
r1746: * dh_installmodules autoscripts: Now that return code 3 is allocated by
update-modules to indicate /etc/modules.conf is not automatically
generated, we can ignore that return code since it's not a condition that
should fail an installation. Closes: #165400
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 |