mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Bugfix - after introducing new cache system based on Git releases, key also contains subfolder (#4066)
This commit is contained in:
@@ -1624,7 +1624,7 @@ function webseed ()
|
||||
unset text
|
||||
local CCODE=$(curl -s redirect.armbian.com/geoip | jq '.continent.code' -r)
|
||||
|
||||
if [[ "$2" == "rootfs" ]]; then
|
||||
if [[ "$2" == rootfs* ]]; then
|
||||
WEBSEED=($(curl -s ${1}mirrors | jq -r '.'${CCODE}' | .[] | values'))
|
||||
else
|
||||
WEBSEED=($(curl -s https://redirect.armbian.com/mirrors | jq -r '.'${CCODE}' | .[] | values'))
|
||||
|
||||
Reference in New Issue
Block a user