packaging: dpkg --purge command fails on Ubuntu 11.04
authorAnsis Atteka <aatteka@nicira.com>
Tue, 1 Nov 2011 18:08:24 +0000 (11:08 -0700)
committerAnsis Atteka <aatteka@nicira.com>
Tue, 1 Nov 2011 23:33:33 +0000 (16:33 -0700)
commit0f49dd6925beadb7e86fda6646285c068ada7303
tree1801a597634a64446ee3ac4d2d19f86c9e499913
parente002c96f0587ee7ac75d56ba89a66ad9d1002c14
packaging: dpkg --purge command fails on Ubuntu 11.04

The problem is that postrm script is unable to remove
contents of /var/log/openvswitch/ directory in case if
it contains any other directories. Steps to reproduce
on Ubuntu 11.04:
1. apt-get install openvswitch-switch
2. dpkg --purge openvswitch-switch
3. observe that purge failed, because of an empty "cores"
directory inside /var/log/openvswitch/
debian/openvswitch-switch.postrm