Page MenuHomeDevCentral

Detect BSD as current OS
ClosedPublic

Authored by dereckson on Apr 15 2023, 13:48.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 6, 04:37
Unknown Object (File)
Wed, Sep 3, 17:37
Unknown Object (File)
Wed, Sep 3, 17:37
Unknown Object (File)
Tue, Sep 2, 23:33
Unknown Object (File)
Mon, Sep 1, 17:55
Unknown Object (File)
Sat, Aug 30, 08:04
Unknown Object (File)
Wed, Aug 27, 04:20
Unknown Object (File)
Tue, Aug 19, 07:49
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