"MaJ expl_create_vhost.sh + expl_deploy_socle.sh"
This commit is contained in:
parent
1e63366a07
commit
ff979be0fb
@ -193,7 +193,7 @@ function create_backend_conf
|
||||
fct_erreur 2
|
||||
fi
|
||||
fct_message "Installation de la configuration du backend sur ${backend_host}" -color jaune
|
||||
scp ${NC_EXPL_TMP}/${domain}.conf_${SH_SESSION_ID}.tmp ${backend_host}:/tmp/${domain}.conf
|
||||
scp -q ${NC_EXPL_TMP}/${domain}.conf_${SH_SESSION_ID}.tmp ${backend_host}:/tmp/${domain}.conf
|
||||
RET_VAL=$?
|
||||
if [ ! ${RET_VAL} -eq 0 ]; then
|
||||
ERROR="Erreur lors de l'installation de la configuration du backend (1)"
|
||||
|
@ -91,7 +91,7 @@ function rm_socle_dir
|
||||
function scp_socle_dir
|
||||
{
|
||||
fct_message "Copie du socle dans ${socle_dir} sur ${vm}:" -color rose
|
||||
scp -r ${socle_dir} ${vm}:${socle_dir}
|
||||
scp -q -r ${socle_dir} ${vm}:${socle_dir}
|
||||
RET_VAL=$?
|
||||
if [ ! ${RET_VAL} -eq 0 ]; then
|
||||
ERROR="Erreur lors de la copie du socle."
|
||||
|
Loading…
Reference in New Issue
Block a user