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: 908ce34d92a85d844184df136068af686285be1d
4
- data.tar.gz: ee4190546d56e8efa4a1eb3600cc4a09fbfc2e1d
3
+ metadata.gz: ca60b4cdd7ae24fe9ab9ccc506c82fa6900a266b
4
+ data.tar.gz: b4c207f8322a4ba6a82fdc4fc89808e91d1089ef
5
5
  SHA512:
6
- metadata.gz: ef0700d899bda84577f131d2879ab859b1bc32d852d4e65648acabcb06dda36a60e93ad8b9a3ccc267a5e92af8bfba0238c5521712f74dc4b2e486de85acf47d
7
- data.tar.gz: 497dd2119abbab83bcaf05cd3e2cfa06c9912c3df2ae8ac1a402483d0ea4cf6efc1f929740d91107d010a1c9150b850b3f9ff5fabdc7d8426aec1b13d655db87
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
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module OracleJdk
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-oracle_jdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Higa