dk: supprimer avec image:tag si possible
This commit is contained in:
parent
4ee346b521
commit
d666859b83
2
dk
2
dk
|
@ -1916,7 +1916,7 @@ NR == 1 { print; next }
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
all="$("${lscmd[@]}" | "${filtercmd[@]}")"
|
all="$("${lscmd[@]}" | "${filtercmd[@]}")"
|
||||||
setx -a images awk 'NR == 1 { next } { print $3 }' <<<"$all"
|
setx -a images awk 'NR == 1 { next } { if ($1 == "<none>" || $2 == "<none>") { print $3 } else { print $1 ":" $2 } }' <<<"$all"
|
||||||
if [ ${#images[*]} -gt 0 ]; then
|
if [ ${#images[*]} -gt 0 ]; then
|
||||||
echo "$all"
|
echo "$all"
|
||||||
ask_yesno "Etes-vous sûr de vouloir supprimer ces images?" || die
|
ask_yesno "Etes-vous sûr de vouloir supprimer ces images?" || die
|
||||||
|
|
Loading…
Reference in New Issue