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 Jun 19 2023, 23:27
Reviewer
dereckson
Differential Revision
D3024: Detect BSD as current OS
Parents
rKOT8445a5b8652a: Update license information
Branches
Unknown
Tags
Unknown