git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Don't remove network.dbcache on uninstall.
[sliver-openvswitch.git]
/
xenserver
/
openvswitch-xen.spec
diff --git
a/xenserver/openvswitch-xen.spec
b/xenserver/openvswitch-xen.spec
index
728bb2c
..
19a96f9
100644
(file)
--- a/
xenserver/openvswitch-xen.spec
+++ b/
xenserver/openvswitch-xen.spec
@@
-307,7
+307,6
@@
if [ "$1" = "0" ]; then # $1 = 1 for upgrade
rm -f /etc/openvswitch/conf.db
rm -f /etc/sysconfig/openvswitch
rm -f /etc/openvswitch/vswitchd.cacert
rm -f /etc/openvswitch/conf.db
rm -f /etc/sysconfig/openvswitch
rm -f /etc/openvswitch/vswitchd.cacert
- rm -f /var/xapi/network.dbcache
# Remove saved XenServer scripts directory, but only if it's empty
rmdir -p /usr/lib/openvswitch/xs-saved 2>/dev/null
# Remove saved XenServer scripts directory, but only if it's empty
rmdir -p /usr/lib/openvswitch/xs-saved 2>/dev/null