Skip to content

Commit

Permalink
Introduce sdkman_native_enable config
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Dec 17, 2024
1 parent 430a516 commit db7310c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/install_beta.scala.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions app/views/selfupdate_beta.scala.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db7310c

Please sign in to comment.