remove duplicate %post for cloud-client

This commit is contained in:
frank 2012-04-19 15:04:37 -07:00 committed by prachi
parent 8073a7a3bb
commit 3648a9cc73
1 changed files with 5 additions and 5 deletions

View File

@ -370,11 +370,6 @@ if [ -d %{_datadir}/%{name}/management/webapps/client/ ]; then
popd &>/dev/null
fi
%post client
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
%preun usage
if [ "$1" == "0" ] ; then
@ -428,6 +423,11 @@ else
fi
%post client
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
if [ "$1" == "1" ] ; then
root=/usr/share/cloud/bridge
target=/usr/share/cloud/management/