ovs-sandbox: Add note about OVN to initial output.
[cascardo/ovs.git] / debian / openvswitch-pki.postinst
index a75a314..75b4777 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# postinst script for openvswitch
+# postinst script for openvswitch-pki
 #
 # see: dh_installdeb(1)
 
@@ -20,7 +20,7 @@ set -e
 case "$1" in
     configure)
         # Create certificate authorities.
-        if test ! -d /usr/share/openvswitch/pki; then
+        if test ! -e /var/lib/openvswitch/pki; then
             ovs-pki init
         fi
         ;;