mirror of https://github.com/apache/cloudstack.git
remove duplicate %post for cloud-client
This commit is contained in:
parent
8073a7a3bb
commit
3648a9cc73
10
cloud.spec
10
cloud.spec
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in New Issue