summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-modules
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-modules')
-rw-r--r--autoscripts/postinst-modules6
1 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules
index a8f4ce7..64b8eb0 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