mise à jour des excercices tronc-commun-2
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/share/eole/FonctionsEoleNg
|
||||
|
||||
option=$1
|
||||
|
||||
if [ "$option" = "instance" ] && [ -d $container_path_web/tmp/toto ] ; then
|
||||
Question_ouinon "Voulez-vous supprimer le répertoire ?" "oui"
|
||||
[ "$?" = "0" ] && RunCmd "rm -rf /tmp/toto" web
|
||||
fi
|
||||
|
||||
RunCmd "mkdir -p /tmp/toto" web
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user