Lines 160-166
cache_stage3()
Link Here
|
160 |
printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}" |
160 |
printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}" |
161 |
printf " => downloading and processing %s\n" "${stage3_pointer}" |
161 |
printf " => downloading and processing %s\n" "${stage3_pointer}" |
162 |
|
162 |
|
163 |
local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 ) \ |
163 |
local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 | cut -d " " -f1) \ |
164 |
|| die 6 "Error: unable to fetch\n" |
164 |
|| die 6 "Error: unable to fetch\n" |
165 |
|
165 |
|
166 |
printf " => Got: %s\n" "${stage3_latest_tarball}" |
166 |
printf " => Got: %s\n" "${stage3_latest_tarball}" |
167 |
- |
|
|