mirror of
https://github.com/lxc/lxc-templates.git
synced 2025-06-21 08:44:46 +00:00
Compare commits
2 Commits
4cdac9e583
...
5e1c10b3ed
Author | SHA1 | Date | |
---|---|---|---|
|
5e1c10b3ed | ||
|
c128b962b3 |
@ -163,7 +163,7 @@ cache_stage3()
|
|||||||
printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}"
|
printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}"
|
||||||
printf " => downloading and processing %s\n" "${stage3_pointer}"
|
printf " => downloading and processing %s\n" "${stage3_pointer}"
|
||||||
|
|
||||||
local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 | cut -d' ' -f1) \
|
local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | grep stage3 | tail -n1 | cut -d' ' -f1) \
|
||||||
|| die 6 "Error: unable to fetch\n"
|
|| die 6 "Error: unable to fetch\n"
|
||||||
|
|
||||||
printf " => Got: %s\n" "${stage3_latest_tarball}"
|
printf " => Got: %s\n" "${stage3_latest_tarball}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user