Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/check_requisites.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ try
else
{
Write-Host "Apax version mismatch. Expected $apaxRequiredVersion but found $apaxVersion." -ForegroundColor Red
Write-Host "Run apax self-update $apaxVersion." -ForegroundColor Red
Write-Host "Run apax self-update $apaxRequiredVersion." -ForegroundColor Red
}
}
catch
Expand Down
5 changes: 3 additions & 2 deletions src/scripts/check_requisites_apax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ if ! is_apax_installed ; then
printf "${RED}Apax is not installed or not found in PATH. You need to have a valid SIMATIC-AX license.${NC}"
exit 1
elif ! is_apax_version_equal "$expectedApaxVersion" ; then
printf "${RED}Apax installed, but version found does not match the verion required $expectedApaxVersion.${NC}"
printf "${RED}Apax installed, but the version found does not match the version required $expectedApaxVersion.${NC}"
printf "${RED}Run 'apax self-update $expectedApaxVersion'.${NC}"
exit 1
else
printf "${GREEN}Apax installed, verion matches required $expectedApaxVersion.${NC}"
printf "${GREEN}Apax installed, version matches required $expectedApaxVersion.${NC}"
if ! is_apax_site_accessible ; then
printf "${RED}Failed to access feed: $apaxUrl. Error: HTTP status $response.${NC}"
printf "${RED}Try to access it manually, check your connection, firewall settings, credentials, etc.${NC}"
Expand Down
Loading