From 1811b87a196aeebdf279e1878f52e0f3428e8bc3 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Mon, 16 Jul 2018 13:54:49 -0300 Subject: [PATCH] AK2: fix slot detection broken by block auto detection --- tools/ak2-core.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/ak2-core.sh b/tools/ak2-core.sh index 3296751..44f7cbc 100755 --- a/tools/ak2-core.sh +++ b/tools/ak2-core.sh @@ -567,6 +567,11 @@ case $block in ui_print " "; ui_print "Unable to determine $block partition. Aborting..."; exit 1; fi; ;; + *) + if [ "$slot" ]; then + test -e "$block$slot" && block=$block$slot; + fi; + ;; esac; ## end methods