updated java state
This commit is contained in:
parent
d46572f8f9
commit
9f8afd1ef8
@ -41,5 +41,7 @@ java-update-alternatives-script:
|
||||
java-default:
|
||||
cmd.run:
|
||||
- name: {{ java.install_dir }}/default/update-alternatives-java.sh
|
||||
- stateful: True
|
||||
- require:
|
||||
- archive: java-extract
|
||||
- file: java-update-alternatives-script
|
||||
|
@ -5,3 +5,4 @@ do
|
||||
update-alternatives --install /usr/bin/${item} ${item} {{ java.install_dir }}/default/bin/${item} 1
|
||||
update-alternatives --set ${item} {{ java.install_dir }}/default/bin/${item}
|
||||
done
|
||||
echo "changed=no comment='java alternatives up to date' whatever=123"
|
||||
|
Loading…
Reference in New Issue
Block a user