TT#37257 Fuse alternative blocks of if-else that should not happen concurrently

Change-Id: I3c314926e812058ae2931ad5ff47a712b2c39b18
changes/87/22487/2
Manuel Montecelo 8 years ago
parent 5e6e6cfae6
commit 6c01f5930b

@ -668,17 +668,15 @@ for param in "$@" ; do
shift
done
set_deploy_status "installing_sipwise_keys"
install_sipwise_key
if ! "$NGCP_INSTALLER" ; then
CARRIER_EDITION=false
PRO_EDITION=false
CE_EDITION=false
unset ROLE
fi
set_deploy_status "installing_sipwise_keys"
install_sipwise_key
if "$NGCP_INSTALLER" ; then
else
set_deploy_status "ensure_augtool_present"
if [ -x /usr/bin/augtool ] ; then
@ -696,9 +694,7 @@ set_deploy_status "getconfig"
if [ -z "$TARGET_HOSTNAME" ] ; then
if "$PRO_EDITION" ; then
TARGET_HOSTNAME="$ROLE"
fi
if "$CE_EDITION" ; then
elif "$CE_EDITION" ; then
TARGET_HOSTNAME="spce"
fi

Loading…
Cancel
Save