packaging: dpkg --purge command fails on Ubuntu 11.04
[openvswitch] / debian / openvswitch-switch.postrm
index b785c54d38c171e7e2b403bd68d84f81efc18460..d9113389a7210f57fe699b78541ae9440939de7b 100755 (executable)
@@ -24,7 +24,7 @@ case "$1" in
         rm -f /etc/openvswitch/conf.db
         rm -f /etc/openvswitch/.conf.db.~lock~
         rm -f /etc/default/openvswitch-switch
-        rm -f /var/log/openvswitch/*
+        rm -f /var/log/openvswitch/* || true
         ;;
 
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)