Revert "uses_from_macos: fix force_homebrew_on_linux behaviour."
This commit is contained in:
parent
ba0a377b43
commit
9ad37ddc36
@ -1,8 +1,6 @@
|
||||
# typed: false
|
||||
# frozen_string_literal: true
|
||||
|
||||
# The Library/Homebrew/extend/os/software_spec.rb conditional logic will need to be more nuanced
|
||||
# if this file ever includes more than `uses_from_macos`.
|
||||
class SoftwareSpec
|
||||
undef uses_from_macos
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
# This logic will need to be more nuanced if this file includes more than `uses_from_macos`.
|
||||
if OS.mac? || Homebrew::EnvConfig.force_homebrew_on_linux?
|
||||
require "extend/os/mac/software_spec"
|
||||
elsif OS.linux?
|
||||
if OS.linux?
|
||||
require "extend/os/linux/software_spec"
|
||||
elsif OS.mac?
|
||||
require "extend/os/mac/software_spec"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user