Skip to content

Commit 9019e54

Browse files
committed
hack/update-template-fedora.sh: Fix overriding to avoid detecting upgraded version
By this change, 41 and 42 will not be upgraded to 43. Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
1 parent 81f206a commit 9019e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-template-fedora.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function fedora_cache_key_for_image_kernel() {
155155
}
156156
157157
function fedora_image_entry_for_image_kernel() {
158-
local location=$1 kernel_is_not_supported=$2 overriding=${3:-'{"path_version":"releases/\\d+"}'} url_spec image_entry=''
158+
local location=$1 kernel_is_not_supported=$2 overriding=${3:-'{}'} url_spec image_entry=''
159159
[[ ${kernel_is_not_supported} == "null" ]] || echo "Updating kernel information is not supported on Fedora Linux" >&2
160160
url_spec=$(fedora_url_spec_from_location "${location}" | jq -r ". + ${overriding}")
161161
image_entry=$(fedora_latest_image_entry_for_url_spec "${url_spec}")

0 commit comments

Comments
 (0)