Skip to content

Commit f6f96e0

Browse files
committed
Add config for sdkman_checksum_enable on beta channel.
1 parent afbc9f7 commit f6f96e0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/views/install_beta.scala.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ else
231231
fi
232232
echo "sdkman_auto_env=false" >> "$sdkman_config_file"
233233
echo "sdkman_beta_channel=true" >> "$sdkman_config_file"
234+
echo "sdkman_checksum_enable=true" >> "$sdkman_config_file"
234235
echo "sdkman_colour_enable=true" >> "$sdkman_config_file"
235236
echo "sdkman_curl_connect_timeout=7" >> "$sdkman_config_file"
236237
echo "sdkman_curl_max_time=10" >> "$sdkman_config_file"

app/views/selfupdate_beta.scala.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_rosetta2_compatible') ]]; th
152152
echo "sdkman_rosetta2_compatible=false" >> "$sdkman_config_file"
153153
fi
154154

155+
if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_checksum_enable') ]]; then
156+
echo "sdkman_checksum_enable=true" >> "$sdkman_config_file"
157+
fi
158+
155159
if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_auto_complete') ]]; then
156160
if [ -z "$ZSH_VERSION" -a -z "$BASH_VERSION" ]; then
157161
echo "sdkman_auto_complete=false" >> "$sdkman_config_file"

0 commit comments

Comments
 (0)