diff --git a/DockerStandaloneHost/elements/docker/install.d/56-docker b/DockerStandaloneHost/elements/docker/install.d/56-docker index b6997ef..e284698 100755 --- a/DockerStandaloneHost/elements/docker/install.d/56-docker +++ b/DockerStandaloneHost/elements/docker/install.d/56-docker @@ -15,7 +15,8 @@ if [ "${os}" = "Linux" ] ; then fi fi -dist_name=$(lowercase $dist_name) +# Convert ditribition name to lowercase +dist_name=${dist_name,,} if [ "${dist_name}" == 'ubuntu' ]; then if [ -e /usr/lib/apt/methods/https ]; then diff --git a/Kubernetes/KubernetesCluster/elements/docker/install.d/56-docker b/Kubernetes/KubernetesCluster/elements/docker/install.d/56-docker index b6997ef..e284698 100755 --- a/Kubernetes/KubernetesCluster/elements/docker/install.d/56-docker +++ b/Kubernetes/KubernetesCluster/elements/docker/install.d/56-docker @@ -15,7 +15,8 @@ if [ "${os}" = "Linux" ] ; then fi fi -dist_name=$(lowercase $dist_name) +# Convert ditribition name to lowercase +dist_name=${dist_name,,} if [ "${dist_name}" == 'ubuntu' ]; then if [ -e /usr/lib/apt/methods/https ]; then