File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ echo "${GREEN}${BOLD}Auto-Save .env File${RESET}"
2626echo " "
2727
2828mkdir /tmp/pterodactylpanelreinstall
29- mv /var/wwww /pterodactyl/.env /tmp/pterodactylpanelreinstall/
29+ mv /var/www /pterodactyl/.env /tmp/pterodactylpanelreinstall/
3030
3131
3232# # Supprésion du panel actuelle
@@ -55,7 +55,19 @@ echo ""
5555
5656mv /tmp/pterodactylpanelreinstall/.env /var/www/pterodactyl/
5757
58- # ## Build du panel pterodactyl
58+ # ########################################### Build du panel pterodactyl ###################################
59+
60+ # Demander à l'utilisateur de faire l'action "save file"
61+ read -p " Voulez vous re-build le panel Pterodactyl ? ${BOLD} NON REVERSIBLE${RESET} " response
62+
63+ # Vérifier si la réponse est "oui"
64+ if [ " $response " = " oui" ]; then
65+ echo " L'utilisateur a répondu 'oui'. Le script continue..."
66+ else
67+ echo " Réponse incorrecte. Le script se termine."
68+ exit 1
69+ fi
70+
5971echo " "
6072echo " ${VIOLET}${BOLD} Build du panel Pterodactyl${RESET} "
6173echo " "
You can’t perform that action at this time.
0 commit comments