Add postgresql (replace postgresql-win)

This commit is contained in:
crazywhalecc
2026-03-24 12:07:57 +08:00
parent 2a50015c12
commit 7c3022b7e3
3 changed files with 15 additions and 3 deletions

View File

@@ -323,6 +323,11 @@ class PackageInstaller
$artifact = $package->getArtifact();
return $artifact->isBinaryExtracted();
}
// Fallback: if the download cache is missing (e.g. download failed or cache was cleared),
// still check whether the files are physically present in buildroot.
if ($package instanceof LibraryPackage) {
return $package->isInstalled();
}
return false;
}