HomeDevCentral

Detect BSD as current OS

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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:14
Reviewer
dereckson
Differential Revision
D3024: Detect BSD as current OS
Parents
rKOTed799c78e661: Update license information
Branches
Unknown
Tags
Unknown