This repository was archived by the owner on Jan 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 33#
44# Author: jules randolph <jules.sam.randolph@gmail.com> https://github.com/jsamr
55# License: MIT
6- # Version 3.0.0
6+ # Version 3.0.1
77
88set -o pipefail
99set -E
@@ -51,7 +51,7 @@ typeset -Ar userFlagsCompatibilityMatrix=(
5151)
5252
5353# internal variables
54- typeset version=" 3.0.0 "
54+ typeset version=" 3.0.1 "
5555typeset ticketsurl=" https://github.com/jsamr/bootiso/issues"
5656typeset mountRoot=/mnt
5757typeset tempRoot=/var/tmp/bootiso
@@ -355,11 +355,13 @@ assertISOIsOK() {
355355 if [ ! -f " $selectedIsoFile " ]; then
356356 failAndExit " Provided iso file \` $selectedIsoFile ' does not exists."
357357 fi
358- mimetype=$( file --mime-type -b -- " $selectedIsoFile " )
359- [ " $mimetype " == " application/octet-stream" ]
360- isOctetStream=$?
361- if (( isOctetStream != 0 )) && [ ! " $mimetype " == " application/x-iso9660-image" ]; then
362- failISOCheck
358+ if [ " $disableMimeCheck " == ' false' ]; then
359+ mimetype=$( file --mime-type -b -- " $selectedIsoFile " )
360+ [ " $mimetype " == " application/octet-stream" ]
361+ isOctetStream=$?
362+ if (( isOctetStream != 0 )) && [ ! " $mimetype " == " application/x-iso9660-image" ]; then
363+ failISOCheck
364+ fi
363365 fi
364366}
365367
Original file line number Diff line number Diff line change 1+ # v3.0.1
2+
3+ - fixed non-working ` -M ` , ` --no-mime-check ` flag
4+
15# v3.0.0
26
37- ` [install-auto] ` default mode: bootiso chooses the most appropriate copy mode after inspecting ISO file
You can’t perform that action at this time.
0 commit comments