diff options
author | osm0sis <osm0sis@outlook.com> | 2018-07-16 13:54:49 -0300 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2018-07-16 13:54:49 -0300 |
commit | 1811b87a196aeebdf279e1878f52e0f3428e8bc3 (patch) | |
tree | 12735f2de25ce7478b2d92a51f04fb42a2c35ad9 | |
parent | 915cdaff1bf95af63bef1e82c23f1b5f9edfc762 (diff) |
AK2: fix slot detection broken by block auto detection
-rwxr-xr-x | tools/ak2-core.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |