From 9a550adb75db7043b434e8fc8b8b9c553dc75b50 Mon Sep 17 00:00:00 2001 From: frank Date: Mon, 16 Jul 2012 11:57:35 -0700 Subject: [PATCH] re-copy awsapi conf files when upgrade --- cloud.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cloud.spec b/cloud.spec index 6b551b7144f..2afc45ed5ad 100644 --- a/cloud.spec +++ b/cloud.spec @@ -423,12 +423,12 @@ else fi %post client -if [ "$1" == "1" ] ; then +#if [ "$1" == "1" ] ; then /sbin/chkconfig --add %{name}-management > /dev/null 2>&1 || true /sbin/chkconfig --level 345 %{name}-management on > /dev/null 2>&1 || true -fi +#fi -if [ "$1" == "1" ] ; then +#if [ "$1" == "1" ] ; then root=/usr/share/cloud/bridge target=/usr/share/cloud/management/ @@ -448,7 +448,7 @@ if [ "$1" == "1" ] ; then do cp -f $root/conf/$c $target/conf done -fi +#fi %files utils %defattr(0644,root,root,0755)