Skip to content

Commit b95e9e3

Browse files
committed
Remove rosetta 2 compatible flag
1 parent 3165cbe commit b95e9e3

File tree

5 files changed

+5
-19
lines changed

5 files changed

+5
-19
lines changed

app/views/includes/infer_platform.scala.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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"

app/views/install_beta.scala.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ echo "sdkman_curl_connect_timeout=7" >> "$sdkman_config_file"
8282
echo "sdkman_curl_max_time=10" >> "$sdkman_config_file"
8383
echo "sdkman_debug_mode=false" >> "$sdkman_config_file"
8484
echo "sdkman_insecure_ssl=false" >> "$sdkman_config_file"
85-
echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file"
8685
echo "sdkman_selfupdate_feature=true" >> "$sdkman_config_file"
8786

8887
# script cli distribution
@@ -135,4 +134,4 @@ fi
135134

136135
}
137136

138-
@includes.install_message(beta)
137+
@includes.install_message(beta)

app/views/install_stable.scala.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ echo "sdkman_curl_connect_timeout=7" >> "$sdkman_config_file"
8282
echo "sdkman_curl_max_time=10" >> "$sdkman_config_file"
8383
echo "sdkman_debug_mode=false" >> "$sdkman_config_file"
8484
echo "sdkman_insecure_ssl=false" >> "$sdkman_config_file"
85-
echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file"
8685
echo "sdkman_selfupdate_feature=true" >> "$sdkman_config_file"
8786

8887
# script cli distribution
@@ -135,4 +134,4 @@ fi
135134

136135
}
137136

138-
@includes.install_message(beta)
137+
@includes.install_message(beta)

app/views/selfupdate_beta.scala.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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"
108108
fi
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-
114110
if ! grep 'sdkman_checksum_enable' "${sdkman_config_file_tmp}"; then
115111
echo "sdkman_checksum_enable=true" >> "$sdkman_config_file_tmp"
116112
fi
@@ -157,4 +153,4 @@ echo "$SDKMAN_NATIVE_VERSION" > "${SDKMAN_DIR}/var/version_native"
157153
rm -rf "${SDKMAN_DIR}"/tmp
158154
mkdir "${SDKMAN_DIR}"/tmp
159155

160-
@includes.selfupdate_message(beta)
156+
@includes.selfupdate_message(beta)

app/views/selfupdate_stable.scala.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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"
108108
fi
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-
114110
if ! grep 'sdkman_checksum_enable' "${sdkman_config_file_tmp}"; then
115111
echo "sdkman_checksum_enable=true" >> "$sdkman_config_file_tmp"
116112
fi
@@ -157,4 +153,4 @@ echo "$SDKMAN_NATIVE_VERSION" > "${SDKMAN_DIR}/var/version_native"
157153
rm -rf "${SDKMAN_DIR}"/tmp
158154
mkdir "${SDKMAN_DIR}"/tmp
159155

160-
@includes.selfupdate_message(beta)
156+
@includes.selfupdate_message(beta)

0 commit comments

Comments
 (0)