Allow to fix paths according hier(7):
use Keruald\OmniTools\OS\CurrentOS;
if (CurrentOS::isBSD()) {
$luaPath = "/usr/local/bin/lua54";
} Differential D3024
Detect BSD as current OS Authored by dereckson on Apr 15 2023, 13:48. Tags None Referenced Files
Subscribers None
Details Allow to fix paths according hier(7): use Keruald\OmniTools\OS\CurrentOS;
if (CurrentOS::isBSD()) {
$luaPath = "/usr/local/bin/lua54";
}CurrentOS::isBSD() on a FreeBSD dev server
Diff Detail
|