Page MenuHomeDevCentral

Detect BSD as current OS
ClosedPublic

Authored by dereckson on Apr 15 2023, 13:48.
Tags
None
Referenced Files
F8641550: D3024.id.diff
Sat, May 17, 20:58
F8619435: D3024.id7717.diff
Sat, May 17, 12:09
F8606039: D3024.id7718.diff
Sat, May 17, 06:29
Unknown Object (File)
Fri, May 16, 17:13
Unknown Object (File)
Tue, May 13, 18:27
Unknown Object (File)
Tue, May 13, 05:35
Unknown Object (File)
Mon, May 5, 23:29
Unknown Object (File)
Mon, May 5, 08:51
Subscribers
None

Details

Summary

Allow to fix paths according hier(7):

use Keruald\OmniTools\OS\CurrentOS;

if (CurrentOS::isBSD()) {
    $luaPath = "/usr/local/bin/lua54";
}
Test Plan

CurrentOS::isBSD() on a FreeBSD dev server

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable