diff options
Diffstat (limited to 'type')
| -rwxr-xr-x | type/__dtnrch_etax_sgnp/manifest | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/type/__dtnrch_etax_sgnp/manifest b/type/__dtnrch_etax_sgnp/manifest index 86b1c6d..1d273f5 100755 --- a/type/__dtnrch_etax_sgnp/manifest +++ b/type/__dtnrch_etax_sgnp/manifest @@ -144,6 +144,8 @@ then "${java_min_ver}" "${jvm_ver:-none}" >&2 exit 1 } + + set_jre_symlink=true fi if test -s "${__object:?}/parameter/install-dir" @@ -170,6 +172,24 @@ __dtnrch_install4j "${install_dir}" \ --state "${state_should}" \ --installer "${remote_file}" "$@" +if ${set_jre_symlink:-false} +then + require="__dtnrch_install4j${install_dir}" \ + __file "${install_dir:?}/.install4j/pref_jre.cfg" \ + --state "${state_should}" \ + --owner 0 --group 0 --mode 0644 \ + --source - <<-EOF + ${jvm_path:?} + EOF + + # __link "${install_dir:?}/jre" \ + # --state "${state_should}" \ + # --type symbolic \ + # --source "${jvm_path:?}" + require="__file${install_dir:?}/.install4j/pref_jre.cfg" \ + __directory "${install_dir:?}/jre" --state absent +fi + export require="__dtnrch_install4j${install_dir}" |
