Update correct image
This commit is contained in:
parent
aaea8b2961
commit
417bdacde8
|
@ -3,8 +3,9 @@
|
||||||
function guess_image() {
|
function guess_image() {
|
||||||
local image="${1}"
|
local image="${1}"
|
||||||
|
|
||||||
image="${image# }"
|
image="${image// /}"
|
||||||
image="${image% }"
|
image="${image#\/}"
|
||||||
|
image="${image%\/}"
|
||||||
|
|
||||||
if [[ -z "${image}" ]]; then
|
if [[ -z "${image}" ]]; then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue