Ajout du retour au home à la fin de chaque script

This commit is contained in:
2024-10-30 00:43:30 +01:00
parent 914a0fd601
commit cd5c5b07c0
4 changed files with 8 additions and 0 deletions

View File

@@ -115,3 +115,5 @@ if ! command -v npm &> /dev/null; then
else
echo "npm est déjà installé sur votre système."
fi
cd /home/$USER

View File

@@ -16,3 +16,5 @@ if command -v docker &> /dev/null; then
echo "Strapi est déjà installé dans le répertoire docker"
fi
fi
cd /home/$USER

View File

@@ -56,3 +56,5 @@ if command -v docker &> /dev/null; then
echo "Le répertoire www n'est pas créé dans le répertoire de docker."
fi
fi
cd /home/$USER

View File

@@ -79,3 +79,5 @@ if ! command -v docker &> /dev/null; then
else
echo "Docker est déjà installé sur votre système."
fi
cd /home/$USER