bug
This commit is contained in:
parent
a91542b47f
commit
4603b1a6a0
|
@ -288,9 +288,10 @@ function __java_compute_vms() {
|
||||||
# sur debian
|
# sur debian
|
||||||
array_from_lines vms "$(list_dirs /usr/lib/jvm)"
|
array_from_lines vms "$(list_dirs /usr/lib/jvm)"
|
||||||
for vm in "${vms[@]}"; do
|
for vm in "${vms[@]}"; do
|
||||||
v="${vm%-sun}"
|
v="$vm"
|
||||||
v="${vm%-amd64}"
|
v="${v%-sun}"
|
||||||
v="${vm%-openjdk}"
|
v="${v%-amd64}"
|
||||||
|
v="${v%-openjdk}"
|
||||||
v="${v#java-}"
|
v="${v#java-}"
|
||||||
v="${v#j2sdk}"
|
v="${v#j2sdk}"
|
||||||
if [ "$v" == 1.4 ]; then
|
if [ "$v" == 1.4 ]; then
|
||||||
|
|
Loading…
Reference in New Issue