From 5a911f50993e4650a8cd7c74bbef4e69b1dbc150 Mon Sep 17 00:00:00 2001 From: Jules Randolph Date: Tue, 10 Apr 2018 11:19:09 -0400 Subject: [PATCH] v2.4.2 --- bootiso | 6 +++--- changelog.md | 4 ++++ readme.md | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bootiso b/bootiso index 55b5db8..771c921 100755 --- a/bootiso +++ b/bootiso @@ -2,7 +2,7 @@ # Author: jules randolph https://github.com/jsamr # License: MIT -# Version 2.4.1 +# Version 2.4.2 # # Usage: [...] # @@ -79,7 +79,7 @@ typeset ejectDevice=true typeset autoselect=false typeset isEndOfOptions=false -typeset version="2.4.1" +typeset version="2.4.2" typeset help_message="\ Usage: $scriptName [...] @@ -187,7 +187,7 @@ assertISOMimeType() { return 0 fi if [ ! "$mimetype" == "application/x-iso9660-image" ]; then - failAndExit "Provided file \`$selectedIsoFile' doesn't seem to be an iso file (wrong mime type: \`$mimetype')." + failAndExit "Provided file \`$selectedIsoFile' doesn't seem to be an ISO file (wrong mime type: \`$mimetype').\\nTry it with \`--no-mime-check' option." fi echogood "The selected ISO file has the right mime type." # Label is set to uppercase because FAT32 labels should be diff --git a/changelog.md b/changelog.md index e3e3a68..1f6b1ac 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# v2.4.2 + +- better feedback when mime type check fails + # v2.4.1 - fix test to print spinner if and only if launched from terminal diff --git a/readme.md b/readme.md index d1a9514..b4764e9 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![v2.4.1](https://img.shields.io/badge/version-v2.4.1-green.svg)](#) +[![v2.4.2](https://img.shields.io/badge/version-v2.4.2-green.svg)](#) [![GitHub issues open](https://img.shields.io/github/issues/jsamr/bootiso.svg?maxAge=2592000)](https://github.com/jsamr/bootiso/issues) [![Build Status](https://travis-ci.org/jsamr/bootiso.svg?branch=master)](https://travis-ci.org/jsamr/bootiso)