File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ truenas_deploy() {
132132 _truenas_version_23_10=" 23.10"
133133 _truenas_version_24_10=" 24.10"
134134
135- _check_version=$( echo -e " $_truenas_version_23_10 \n $_truenas_version " | sort -V | head -n 1)
135+ _check_version=$( printf " %s\n%s " " $_truenas_version_23_10 " " $_truenas_version " | sort -V | head -n 1)
136136 if [ " $_truenas_os " != " SCALE" ] || [ " $_check_version " != " $_truenas_version_23_10 " ]; then
137137 _info " Checking if WebDAV certificate is the same as the TrueNAS web UI"
138138 _webdav_list=$( _get " $_api_url /webdav" )
@@ -182,7 +182,7 @@ truenas_deploy() {
182182 fi
183183
184184 if [ " $_truenas_os " = " SCALE" ]; then
185- _check_version=$( echo -e " $_truenas_version_24_10 \n $_truenas_version " | sort -V | head -n 1)
185+ _check_version=$( printf " %s\n%s " " $_truenas_version_24_10 " " $_truenas_version " | sort -V | head -n 1)
186186 if [ " $_check_version " != " $_truenas_version_24_10 " ]; then
187187 _info " Checking if any chart release Apps is using the same certificate as TrueNAS web UI. Tool 'jq' is required"
188188 if _exists jq; then
You can’t perform that action at this time.
0 commit comments