File tree Expand file tree Collapse file tree 5 files changed +5
-19
lines changed Expand file tree Collapse file tree 5 files changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,7 @@ function infer_platform() {
3838 echo "darwinx64"
3939 ;;
4040 arm64)
41- if [[ "$sdkman_rosetta2_compatible" == 'true' ]]; then
42- echo "darwinx64"
43- else
44- echo "darwinarm64"
45- fi
41+ echo "darwinarm64"
4642 ;;
4743 *)
4844 echo "darwinx64"
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ echo "sdkman_curl_connect_timeout=7" >> "$sdkman_config_file"
8282echo "sdkman_curl_max_time=10" >> "$sdkman_config_file"
8383echo "sdkman_debug_mode=false" >> "$sdkman_config_file"
8484echo "sdkman_insecure_ssl=false" >> "$sdkman_config_file"
85- echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file"
8685echo "sdkman_selfupdate_feature=true" >> "$sdkman_config_file"
8786
8887# script cli distribution
135134
136135}
137136
138- @includes.install_message(beta)
137+ @includes.install_message(beta)
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ echo "sdkman_curl_connect_timeout=7" >> "$sdkman_config_file"
8282echo "sdkman_curl_max_time=10" >> "$sdkman_config_file"
8383echo "sdkman_debug_mode=false" >> "$sdkman_config_file"
8484echo "sdkman_insecure_ssl=false" >> "$sdkman_config_file"
85- echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file"
8685echo "sdkman_selfupdate_feature=true" >> "$sdkman_config_file"
8786
8887# script cli distribution
135134
136135}
137136
138- @includes.install_message(beta)
137+ @includes.install_message(beta)
Original file line number Diff line number Diff line change @@ -107,10 +107,6 @@ if ! grep 'sdkman_auto_env' "${sdkman_config_file_tmp}"; then
107107 echo "sdkman_auto_env=false" >> "$sdkman_config_file_tmp"
108108fi
109109
110- if ! grep 'sdkman_rosetta2_compatible' "${sdkman_config_file_tmp}"; then
111- echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file_tmp"
112- fi
113-
114110if ! grep 'sdkman_checksum_enable' "${sdkman_config_file_tmp}"; then
115111 echo "sdkman_checksum_enable=true" >> "$sdkman_config_file_tmp"
116112fi
@@ -157,4 +153,4 @@ echo "$SDKMAN_NATIVE_VERSION" > "${SDKMAN_DIR}/var/version_native"
157153rm -rf "${SDKMAN_DIR}"/tmp
158154mkdir "${SDKMAN_DIR}"/tmp
159155
160- @includes.selfupdate_message(beta)
156+ @includes.selfupdate_message(beta)
Original file line number Diff line number Diff line change @@ -107,10 +107,6 @@ if ! grep 'sdkman_auto_env' "${sdkman_config_file_tmp}"; then
107107 echo "sdkman_auto_env=false" >> "$sdkman_config_file_tmp"
108108fi
109109
110- if ! grep 'sdkman_rosetta2_compatible' "${sdkman_config_file_tmp}"; then
111- echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file_tmp"
112- fi
113-
114110if ! grep 'sdkman_checksum_enable' "${sdkman_config_file_tmp}"; then
115111 echo "sdkman_checksum_enable=true" >> "$sdkman_config_file_tmp"
116112fi
@@ -157,4 +153,4 @@ echo "$SDKMAN_NATIVE_VERSION" > "${SDKMAN_DIR}/var/version_native"
157153rm -rf "${SDKMAN_DIR}"/tmp
158154mkdir "${SDKMAN_DIR}"/tmp
159155
160- @includes.selfupdate_message(beta)
156+ @includes.selfupdate_message(beta)
You can’t perform that action at this time.
0 commit comments