From f375c254bef045414797dfb9bd55c6ddc7391659 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 6 Jul 2000 00:18:18 +0000 Subject: r353: * Modified all postinst script fragments to only run when called with "configure". I looked at the other possibilities, and I don't think any of the supported stuff should be called if the postist is called for error unwinds. Closes: #66673 * Implemented dh_clean -X, to allow specification of files to not delete, Closes: #66670 --- autoscripts/postinst-modules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'autoscripts/postinst-modules') diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules index a8f4ce70..64b8eb0c 100644 --- a/autoscripts/postinst-modules +++ b/autoscripts/postinst-modules @@ -1,2 +1,4 @@ -update-modules -depmod -a +if [ "$1" = "configure" ]; then + update-modules + depmod -a +fi -- cgit v1.2.3