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, Oct 25, 07:07
Unknown Object (File)
Fri, Oct 24, 00:54
Unknown Object (File)
Thu, Oct 23, 23:27
Unknown Object (File)
Thu, Oct 23, 22:08
Unknown Object (File)
Thu, Oct 23, 14:04
Unknown Object (File)
Thu, Oct 23, 14:04
Unknown Object (File)
Thu, Oct 23, 13:24
Unknown Object (File)
Thu, Oct 23, 04:21
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