Fix missing function call in Docker DIB element
Replace call of undefined function 'lowercase' with standart bash string conversion to lowercase Change-Id: I7fa4a85058e81afbd72d2f245c66995afc5ce26a Closes-Bug: #1465282
This commit is contained in:
parent
0661ee3e30
commit
b4bb6a2191
@ -15,7 +15,8 @@ if [ "${os}" = "Linux" ] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dist_name=$(lowercase $dist_name)
|
# Convert ditribition name to lowercase
|
||||||
|
dist_name=${dist_name,,}
|
||||||
|
|
||||||
if [ "${dist_name}" == 'ubuntu' ]; then
|
if [ "${dist_name}" == 'ubuntu' ]; then
|
||||||
if [ -e /usr/lib/apt/methods/https ]; then
|
if [ -e /usr/lib/apt/methods/https ]; then
|
||||||
|
@ -15,7 +15,8 @@ if [ "${os}" = "Linux" ] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dist_name=$(lowercase $dist_name)
|
# Convert ditribition name to lowercase
|
||||||
|
dist_name=${dist_name,,}
|
||||||
|
|
||||||
if [ "${dist_name}" == 'ubuntu' ]; then
|
if [ "${dist_name}" == 'ubuntu' ]; then
|
||||||
if [ -e /usr/lib/apt/methods/https ]; then
|
if [ -e /usr/lib/apt/methods/https ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user