Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 9fbd3d1

Browse files
committed
Added fallback for BSD systems
1 parent 6b8602b commit 9fbd3d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Installer/Installer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public static function getInstaller($composerCmd = null)
3535
return new LinuxInstaller($system, $composerCmd);
3636
} elseif ($system instanceof MacSystem) {
3737
return new MacInstaller($system, $composerCmd);
38+
} elseif ($system instanceof UnixSystem) {
39+
// Fallback for BSD systems
40+
return new LinuxInstaller($system, $composerCmd);
3841
} elseif ($system instanceof WindowsSystem) {
3942
return new WindowsInstaller($system, $composerCmd);
4043
} else {

0 commit comments

Comments
 (0)