Skip to content

Commit dc1df55

Browse files
authored
Merge pull request #583 from sedlund/fix-kexec-zst
fix(kexec): zstd file extension is zst
2 parents 73b80b8 + 1bcac02 commit dc1df55

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)