fix: verify all mtools are available
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
1783381e29
commit
f9249d657f
2
quickget
2
quickget
|
|
@ -2300,7 +2300,7 @@ function get_macos() {
|
|||
|
||||
# Check if mtools and sgdisk are available for integrated OpenCore
|
||||
MCOPY=$(command -v mcopy)
|
||||
if [ ! -x "${MCOPY}" ] || [ ! -x "$(command -v sgdisk)" ]; then
|
||||
if [ ! -x "${MCOPY}" ] || [ ! -x "$(command -v mformat)" ] || [ ! -x "$(command -v mmd)" ] || [ ! -x "$(command -v sgdisk)" ]; then
|
||||
echo " - NOTE: mtools or sgdisk not found, using legacy OpenCore.qcow2 method."
|
||||
USE_INTEGRATED_OPENCORE=0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue