From db7310cc4eb2dc98f01389c10e52febfe6abab1b Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Tue, 17 Dec 2024 16:46:41 +0000 Subject: [PATCH] Introduce sdkman_native_enable config --- app/views/install_beta.scala.txt | 1 + app/views/selfupdate_beta.scala.txt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/views/install_beta.scala.txt b/app/views/install_beta.scala.txt index 3e74b77..118df71 100644 --- a/app/views/install_beta.scala.txt +++ b/app/views/install_beta.scala.txt @@ -82,6 +82,7 @@ echo "sdkman_curl_connect_timeout=7" >> "$sdkman_config_file" echo "sdkman_curl_max_time=10" >> "$sdkman_config_file" echo "sdkman_debug_mode=false" >> "$sdkman_config_file" echo "sdkman_insecure_ssl=false" >> "$sdkman_config_file" +echo "sdkman_native_enable=true" >> "$sdkman_config_file" echo "sdkman_selfupdate_feature=true" >> "$sdkman_config_file" # script cli distribution diff --git a/app/views/selfupdate_beta.scala.txt b/app/views/selfupdate_beta.scala.txt index 904166e..2f92bea 100644 --- a/app/views/selfupdate_beta.scala.txt +++ b/app/views/selfupdate_beta.scala.txt @@ -111,6 +111,10 @@ if ! grep 'sdkman_checksum_enable' "${sdkman_config_file_tmp}"; then echo "sdkman_checksum_enable=true" >> "$sdkman_config_file_tmp" fi +if ! grep 'sdkman_native_enable' "${sdkman_config_file_tmp}"; then + echo "sdkman_native_enable=true" >> "$sdkman_config_file_tmp" +fi + if ! grep 'sdkman_selfupdate_feature' "${sdkman_config_file_tmp}"; then echo "sdkman_selfupdate_feature=true" >> "$sdkman_config_file_tmp" fi