mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-15 19:56:59 +08:00
20 lines
390 B
Ruby
20 lines
390 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Utils
|
|
module Analytics
|
|
class << self
|
|
def formula_path
|
|
return generic_formula_path if Homebrew::EnvConfig.force_homebrew_on_linux?
|
|
|
|
"formula-linux"
|
|
end
|
|
|
|
def analytics_path
|
|
return generic_analytics_path if Homebrew::EnvConfig.force_homebrew_on_linux?
|
|
|
|
"analytics-linux"
|
|
end
|
|
end
|
|
end
|
|
end
|