From b39422c435bdf15308d49f3d414864503e09c162 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Mon, 14 Feb 2022 12:34:37 +0100
Subject: [PATCH] Improve prompts for questions during installation
 bitegra/slides#1 Enhance volume.php to allow mounting of subdirectories

---
 run/scripts/start | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/run/scripts/start b/run/scripts/start
index fcd793d..98bf37a 100755
--- a/run/scripts/start
+++ b/run/scripts/start
@@ -3,7 +3,7 @@
 function getConfig() {
   if [[ ! -n ${PHP_VERSION} ]]; then
     while true; do
-      read -p "Which PHP version is your project using? " PHP_VERSION
+      read -p "Which PHP version is your project using? [0=No, 1=Yes] " PHP_VERSION
       case ${PHP_VERSION} in
       7.0) break ;;
       7.1) break ;;
@@ -17,7 +17,7 @@ function getConfig() {
   fi
   if [[ ! -n ${COMPOSER_DOWNGRADE} ]]; then
     while true; do
-      read -p "Do you want to downgrade Composer to version 1? " COMPOSER_DOWNGRADE
+      read -p "Do you want to downgrade Composer to version 1? [0=No, 1=Yes] " COMPOSER_DOWNGRADE
       case ${COMPOSER_DOWNGRADE} in
       0) break ;;
       1) break ;;
-- 
GitLab