HomeDevCentral

Detect BSD as current OS

Description

Detect BSD as current OS

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

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D3024

Details

Provenance
derecksonAuthored on Apr 15 2023, 13:42
derecksonPushed on Apr 15 2023, 13:49
Reviewer
dereckson
Differential Revision
D3024: Detect BSD as current OS
Parents
rKERUALD0fe4343dc813: Update license information
Branches
Unknown
Tags
Unknown