itamae-plugin-recipe-oracle_jdk 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca60b4cdd7ae24fe9ab9ccc506c82fa6900a266b
|
4
|
+
data.tar.gz: b4c207f8322a4ba6a82fdc4fc89808e91d1089ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b164b34396a4476e4a25d3b0f6e26c37ada5f8c21b8f1cc1b07226ebe7455384c0fac455d9fdf121a50f77d9aa9c01313e576743b7b9dc97ff4759bfc5a95a21
|
7
|
+
data.tar.gz: 65188470c3296738f32a9eef390e7104b2db4756ac28c78b1cb283771e320a1e772d255a5bd0efcc06c59b9e371d0c536963a24e26bfe3be55034a445d96a133
|
@@ -31,6 +31,6 @@ execute 'extract oracle jdk' do
|
|
31
31
|
end
|
32
32
|
|
33
33
|
execute 'install oracke jdk' do
|
34
|
-
command "update-alternatives --install /usr/bin/java java #{jdk_installed_dir}/bin/java 100"
|
34
|
+
command "update-alternatives --install /usr/bin/java java #{jdk_installed_dir}/bin/java 100 && update-alternatives --install /usr/bin/javac javac #{jdk_installed_dir}/bin/javac 100"
|
35
35
|
not_if jdk_installedp
|
36
36
|
end
|