mirror of https://github.com/k3s-io/k3s
Merge pull request #23164 from david-mcmahon/update-licenses
Auto commit by PR queue botpull/6/head
commit
6bd5ecc192
|
@ -131,7 +131,8 @@ process_content () {
|
|||
for f in ${remote_files[@]}; do
|
||||
file_state "${package_root_url}/master/${f}" && continue
|
||||
if ! FILE_CONTENT[${package}-${type}]="$(\
|
||||
curl --fail -s https://${package_root_url}/master/${f})" || \
|
||||
curl --fail --retry 10 -s \
|
||||
https://${package_root_url}/master/${f})" || \
|
||||
! $(echo "${FILE_CONTENT[${package}-${type}]-}" |\
|
||||
egrep -qw "${ensure_pattern}") ||
|
||||
[[ "${FILE_CONTENT[${package}-${type}]-}" =~ \<\ *html ]] ; then
|
||||
|
|
Loading…
Reference in New Issue