"MàJ expl_deploy_socle.sh"
This commit is contained in:
parent
2c9e200589
commit
8ac6d72cf5
@ -77,6 +77,16 @@ function check_socle_dir
|
||||
fi
|
||||
}
|
||||
|
||||
function rm_socle
|
||||
{
|
||||
fct_message "Suppression du socle dans ${socle_dir} sur ${vm}:" -color rose
|
||||
ssh ${vm} rm -Rf ${socle_dir}
|
||||
if [ ! ${RET_VAL} -eq 0 ]; then
|
||||
ERROR="Erreur lors de la suppression du socle sur ${vm}."
|
||||
fct_erreur 2
|
||||
fi
|
||||
}
|
||||
|
||||
function scp_socle_dir
|
||||
{
|
||||
fct_message "Copie du socle dans ${socle_dir} sur ${vm}:" -color rose
|
||||
|
Loading…
Reference in New Issue
Block a user