X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fopenvswitch-pki.postrm;h=bc91e13de725fc479929a0ad52701b88d4d504e4;hb=f7ef6b8fe915fca0d934f9e13f643f94f821fa61;hp=5db4d6be6bb63d67b668c89e83fed49b47aa609f;hpb=181a50267b001549f18f168bea3b0582d428b112;p=sliver-openvswitch.git diff --git a/debian/openvswitch-pki.postrm b/debian/openvswitch-pki.postrm index 5db4d6be6..bc91e13de 100755 --- a/debian/openvswitch-pki.postrm +++ b/debian/openvswitch-pki.postrm @@ -22,6 +22,11 @@ set -e case "$1" in purge) rm -f /var/log/openvswitch/ovs-pki.log* || true + + # Remove backward compatibility symlink, if present. + if test -h /usr/share/openvswitch/pki; then + rm -f /usr/share/openvswitch/pki + fi ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)