1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-06 19:40:08 +02:00

👌 Check symlinks after PHP version modification

This commit is contained in:
2023-12-27 14:47:21 +01:00
parent 4edb5f5015
commit 7fbcac5dc2

View File

@ -167,6 +167,9 @@ class ModifyPhpVersionCommand: BrewCommand {
// Reload and restart PHP versions
onProgress(.create(value: 0.95, title: self.title, description: "phpman.steps.reloading".localized))
// Ensure all symlinks are correctly linked
await BrewDiagnostics.checkForOutdatedPhpInstallationSymlinks()
// Check which version of PHP are now installed
await PhpEnvironments.detectPhpVersions()