debian: Use a different way to avoid failing install without kernel module.
[sliver-openvswitch.git] / debian / openvswitch-switch.postinst
index 74b52ba..7b9d7bc 100755 (executable)
@@ -44,8 +44,11 @@ case "$1" in
         ;;
 esac
 
+# Do not fail package installation just because the kernel module
+# is not available.
+OVS_MISSING_KMOD_OK=yes
+export OVS_MISSING_KMOD_OK
+
 #DEBHELPER#
 
 exit 0
-
-