Skip to content

Commit 00a5fd9

Browse files
committed
(IAC-1728) - Changes to account for Debian 11
1 parent 89531ce commit 00a5fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/acceptance_1b_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
let :java_home do
1717
if os[:family].match?(%r{debian|ubuntu})
18-
if os[:release] == '20.04' || os[:release] == '18.04' || os[:release].start_with?('10')
18+
if os[:release] == '20.04' || os[:release] == '18.04' || os[:release].start_with?('11') || os[:release].start_with?('10')
1919
'"/usr/lib/jvm/java-11-openjdk-${::architecture}"'
2020
elsif os[:release] == '16.04' || os[:release].start_with?('9')
2121
'"/usr/lib/jvm/java-8-openjdk-${::architecture}"'

0 commit comments

Comments
 (0)