Page MenuHomeDevCentral

Detect BSD as current OS
ClosedPublic

Authored by dereckson on Apr 15 2023, 13:48.
Tags
None
Referenced Files
F24011332: D3024.id7718.diff
Sun, Feb 8, 17:43
F24011326: D3024.id7717.diff
Sun, Feb 8, 17:43
F24011225: D3024.diff
Sun, Feb 8, 17:41
F24006356: D3024.id7718.diff
Sun, Feb 8, 15:53
F24006346: D3024.id7717.diff
Sun, Feb 8, 15:53
F24006191: D3024.diff
Sun, Feb 8, 15:51
F24000389: D3024.diff
Sun, Feb 8, 14:08
F23995232: D3024.diff
Sun, Feb 8, 12:39
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