Skip to content

Commit 0357e18

Browse files
author
Richard Siomporas
committed
Fixed typo
1 parent 1d39fb1 commit 0357e18

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

quick_install.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,34 @@ arm_tag="arm32v7"
1616
tmp_folder="/tmp"
1717
tag=""
1818

19-
if [ -z "$is_amd64" ] && [ -z "$is_arm" ] then
19+
if [ -z "$is_amd64" ] && [ -z "$is_arm" ]
20+
then
2021
printf "Either an AMD64 or ARMv7 or newer compatible host is required to run and install this container"
2122
exit 1
2223
else
23-
if [ -z "$is_amd64" ] then
24+
if [ -z "$is_amd64" ]
25+
then
2426
tag=$arm_tag
2527
else
2628
tag=$nvidia_tag
2729
fi
2830
fi
2931

30-
if [ -z "$is_git_installed" ] then
32+
if [ -z "$is_git_installed" ]
33+
then
3134
printf "\"git\" must be installed to install this container and runtime. Please install git on your host OS and try again."
3235
exit 1
3336
fi
3437

35-
if [ -z "$is_docker_installed" ] then
38+
if [ -z "$is_docker_installed" ]
39+
then
3640
printf "\"docker\" must be installed, running, and accessible to the current user (e.g. current user must be a member \
3741
of the \"docker\" group). Please check your docker setup and try this again."
3842
exit 1
3943
fi
4044

41-
if [ -z "$is_nvidia" ] then
45+
if [ -z "$is_nvidia" ]
46+
then
4247
printf "It appears you are running the proprietary Nvidia graphics driver on your host. Before you run this container, ensure that \
4348
you have installed and configured nvidia docker (see this: https://github.com/NVIDIA/nvidia-docker for instructions), or else \
4449
the container may not start"

0 commit comments

Comments
 (0)