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 @@ ...@@ -3,7 +3,7 @@
function getConfig() { function getConfig() {
if [[ ! -n ${PHP_VERSION} ]]; then if [[ ! -n ${PHP_VERSION} ]]; then
while true; do 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 case ${PHP_VERSION} in
7.0) break ;; 7.0) break ;;
7.1) break ;; 7.1) break ;;
...@@ -17,7 +17,7 @@ function getConfig() { ...@@ -17,7 +17,7 @@ function getConfig() {
fi fi
if [[ ! -n ${COMPOSER_DOWNGRADE} ]]; then if [[ ! -n ${COMPOSER_DOWNGRADE} ]]; then
while true; do 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 case ${COMPOSER_DOWNGRADE} in
0) break ;; 0) break ;;
1) 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