svg
This commit is contained in:
@ -29,10 +29,13 @@ function destroynineskeletor {
|
||||
stop $NINESKELETOR_SERVICE_NAME 1
|
||||
docker-compose rm -s -v -f "$NINESKELETOR_SERVICE_NAME"
|
||||
|
||||
|
||||
if [[ -z $1 ]]; then Question_ouinon "Souhaitez-vous supprimer la BDD associé à $NINESKELETOR_SERVICE_NAME ?";fi
|
||||
if [[ "$?" = 0 || -z $1 ]]
|
||||
if [[ -z $1 ]]; then
|
||||
Question_ouinon "Souhaitez-vous supprimer la BDD associé à $NINESKELETOR_SERVICE_NAME ?";
|
||||
response=$?
|
||||
fi
|
||||
if [[ "$response" == 0 || ! -z $1 ]]
|
||||
then
|
||||
EchoRouge "Delete BDD = "$NINESKELETOR_SERVICE_NAME
|
||||
docker-compose exec $MARIADB_SERVICE_NAME /nine/delete.sh $NINESKELETOR_SERVICE_NAME
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user