From 489b31ded99c8353b17c8f08f218fec3ccf1baa9 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 18 Oct 2017 06:37:44 +0400 Subject: [PATCH] =?UTF-8?q?moiso:=20am=C3=A9liorer=20l'ergonomie=20pour=20?= =?UTF-8?q?le=20d=C3=A9montage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- moiso | 1 + 1 file changed, 1 insertion(+) diff --git a/moiso b/moiso index ae5347f..1039839 100755 --- a/moiso +++ b/moiso @@ -29,6 +29,7 @@ parse_opts "${PRETTYOPTS[@]}" \ image="$1" [ -n "$image" ] || die "Vous devez spécifier l'image iso à monter" +[ -d "$image" -a -f "$image.iso" ] && image="$image.iso" [ -f "$image" ] || die "$image: fichier introuvable" image="$(abspath "$image")"