Skip to content

Commit

Permalink
fix: prevent error when run at integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jan 29, 2025
1 parent 05c1b1b commit 3e29238
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Service/Install/InstallService.php
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,12 @@ public function installCfssl(?bool $async = false): void {

private function installCfsslByArchitecture(string $architecture): void {
if ($this->isDownloadedFilesOk()) {
if (!$this->isCfsslBinInstalled()) {
// The binaries files could exists but not saved at database
$folder = $this->getFolder($this->resource);
$cfsslBinPath = $this->getInternalPathOfFolder($folder) . '/cfssl';
$this->appConfig->setValueString(Application::APP_ID, 'cfssl_bin', $cfsslBinPath);
}
return;
}
$folder = $this->getFolder($this->resource);
Expand Down

0 comments on commit 3e29238

Please sign in to comment.