Skip to content

Commit cf52e4e

Browse files
author
helpermethod
committed
Fix regex matching sdkman_selfupdate_enable or sdkman_auto_update
1 parent 6855ca4 commit cf52e4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/selfupdate_beta.scala.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_debug_mode') ]]; then
140140
echo "sdkman_debug_mode=true" >> "$sdkman_config_file"
141141
fi
142142

143-
if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_colour_enable|sdkman_auto_update') ]]; then
143+
if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_selfupdate_enable|sdkman_auto_update') ]]; then
144144
echo "sdkman_auto_update=true" >> "$sdkman_config_file"
145145
fi
146146

app/views/selfupdate_stable.scala.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_auto_answer') ]]; then
116116
echo "sdkman_auto_answer=false" >> "$sdkman_config_file"
117117
fi
118118

119-
if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_colour_enable|sdkman_auto_update') ]]; then
119+
if [[ -z $(cat ${sdkman_config_file} | grep 'sdkman_selfupdate_enable|sdkman_auto_update') ]]; then
120120
echo "sdkman_auto_update=true" >> "$sdkman_config_file"
121121
fi
122122

0 commit comments

Comments
 (0)