HomeDevCentral

Detect BSD as current OS
9a3d2bdc9f94Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
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 Jul 1 2023, 20:39
derecksonPushed on Jun 22 2023, 22:00
Parents
rKERUALD8445a5b8652a: Update license information
Branches
Unknown
Tags
Unknown

Event Timeline