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
if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then
- update-modules >/dev/null
+ update-modules >/dev/null || [ "$?" = 3 ]
fi
if [ -x /sbin/update-modules ]; then
- update-modules >/dev/null
+ update-modules >/dev/null || [ "$?" = 3]
fi
debhelper (4.2.33) UNRELEASED; urgency=low
* Update Spanish translation of dh_clean man page. Closes: #303052
+ * 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
-- Joey Hess <joeyh@debian.org> Sat, 9 Apr 2005 17:27:12 -0400