Do not try to split WIM if install.wim is missing

This commit is contained in:
ValdikSS 2022-01-09 17:25:57 +03:00
parent 9361a3cd4b
commit 0ad90c7ef7

View File

@ -64,7 +64,7 @@ function get_iso_name() {
} }
function check_installwim_gt4gib() { function check_installwim_gt4gib() {
7z l "$1" | awk '($6 ~ /install.wim/) {if ($4 > 4294967296) {exit 0}; exit 1}' 7z l "$1" | awk '($6 ~ /install.wim/) {if ($4 > 4294967296) {exit 0}; exit 1} END {exit 1}'
} }
function create_partitions() { function create_partitions() {