Skip to content
Snippets Groups Projects
Commit b39422c4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve prompts for questions during installation

bitegra/slides#1 Enhance volume.php to allow mounting of subdirectories
parent 3408618a
No related branches found
No related tags found
No related merge requests found
......@@ -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 ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment