Skip to content

Commit 1bcac02

Browse files
committed
fix(kexec): zstd file extension is zst
https://datatracker.ietf.org/doc/html/rfc8478
1 parent 73b80b8 commit 1bcac02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixos-anywhere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ TMPDIR=/root/kexec setsid --wait ${maybeSudo} /root/kexec/kexec/run --kexec-extr
677677
tarDecomp="--gzip"
678678
elif [[ ${kexecUrl} =~ \.tar\.xz$ ]]; then
679679
tarDecomp="--xz"
680-
elif [[ ${kexecUrl} =~ \.tar\.zstd$ ]]; then
680+
elif [[ ${kexecUrl} =~ \.tar\.zst$ ]]; then
681681
tarDecomp="--zstd"
682682
elif [[ ${kexecUrl} =~ \.tar$ ]]; then
683683
tarDecomp=""

0 commit comments

Comments
 (0)