summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-update-modules
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-update-modules')
-rw-r--r--autoscripts/postrm-update-modules3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postrm-update-modules b/autoscripts/postrm-update-modules
new file mode 100644
index 00000000..35db8718
--- /dev/null
+++ b/autoscripts/postrm-update-modules
@@ -0,0 +1,3 @@
+if [ -x "`which update-modules 2>/dev/null`" ]; then
+ update-modules >/dev/null || [ "$?" = 3 ]
+fi