Hi Team,
aapanel :
While installing Docker, i came an error like below:
docker_install.sh: line 53: : No such file or directory
after some debugging i found the trouble is in line 53
if [[ "${MIRROR_STATUS}" =~ ("200"|"301"|"302"|"403")$ ]]; then
echo "${TIME_TOTAL} ${mirror_name}" >>"${tmp_file1}"
fi
also this one
`
if [ -s "${tmp_file1}" ]; then
mirror=$(sort -n "${tmp_file1}" | awk '{print $2}' | head -n 1)
else
echo -e "\e[1;31mNo mirrors available."
rm -f "${tmp_file}"
exit 1
fi
`
while the tmp_file1 is supposed to be tmp_file, just an input so you can fix or review it again, thanks