Skip to content

Commit

Permalink
remove check to see if instrument exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiestephenkerr committed Oct 4, 2024
1 parent 2aa75cb commit b44ed92
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/blaise/install_cma_packages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,7 @@ try {
# Install remaining CMA instruments using Blaise CLI for MySQL data interface database configuration
$InstrumentList = 'CMA_Attempts', 'CMA_ContactInfo', 'CMA_Launcher', 'CMA_Logging'
foreach ($Instrument in $InstrumentList) {
if (Test-InstrumentInstalled -ServerParkName $CmaServerParkName -InstrumentName $Instrument) {
LogInfo("Instrument '$Instrument' already installed on server park '$CmaServerParkName', skipping...")
}
else {
Install-PackageViaBlaiseCli -ServerParkName $CmaServerParkName -FilePath "$CmaInstrumentPath\$Instrument.bpkg"
}
Install-PackageViaBlaiseCli -ServerParkName $CmaServerParkName -FilePath "$CmaInstrumentPath\$Instrument.bpkg"
}

LogInfo("Removing CMA working folder '$CmaInstrumentPath'")
Expand Down

0 comments on commit b44ed92

Please sign in to comment.