Final fix for wim file size detection

This commit is contained in:
ValdikSS 2022-01-09 18:10:40 +03:00
parent 2af0bed0df
commit 905f95ae7b

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} END {exit 1}' 7z l "$1" | awk 'BEGIN {doend=1} ($6 ~ /install.wim/) {if ($4 > 4294967296) {doend=0; exit 0}; doend=0; exit 1} END {if (doend) {exit 1}}'
} }
function create_partitions() { function create_partitions() {