proxy/proxy/spacewalk-proxy.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit d04e14a8f6e8c09c3f63ec3c7729f02e84ee2c63 Author: Miroslav Suchý msuchy@redhat.com Date: Wed Sep 1 19:16:33 2010 +0200
629330 - do not remove /var/cache/rhn/* during upgrade
we should remove it during uninstall only and not during upgrade
diff --git a/proxy/proxy/spacewalk-proxy.spec b/proxy/proxy/spacewalk-proxy.spec index 3181b1b..4b809ab 100644 --- a/proxy/proxy/spacewalk-proxy.spec +++ b/proxy/proxy/spacewalk-proxy.spec @@ -227,8 +227,10 @@ fi > /dev/null 2>&1 exit 0
%preun broker -# nuke the cache -rm -rf %{_var}/cache/rhn/* +if [ $1 -eq 0 ] ; then + # nuke the cache + rm -rf %{_var}/cache/rhn/* +fi
%preun if [ $1 = 0 ] ; then
spacewalk-commits@lists.fedorahosted.org