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

#14 Remove spaces in case constructs

parent 411c3902
No related branches found
No related tags found
No related merge requests found
......@@ -73,11 +73,11 @@ function getConfig {
while true; do
read -p "Which PHP version is your project using? " PHP_VERSION
case ${PHP_VERSION} in
7.0 ) break;;
7.1 ) break;;
7.2 ) break;;
7.0) break;;
7.1) break;;
7.2) break;;
* ) echo "Version not supported.";;
*) echo "Version not supported.";;
esac
done
echo "PHP_VERSION=${PHP_VERSION}" >>.env
......@@ -125,24 +125,24 @@ if [[ "$VERSION" == "{{ version }}" ]]; then
fi
case $1 in
help )
help)
showHelp
;;
version )
version)
showVersion
;;
selfupdate )
selfupdate)
selfUpdate
;;
update )
update)
updateImage
startContainer
;;
* )
*)
if [[ -n "$1" ]]; then
ID=$(docker container ls -q -f name=$1_l3d)
if [[ -n "${ID}" ]]; then
......
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