Module: OS::Linux::FormulaInstaller Private
- Extended by:
- T::Helpers
- Included in:
- FormulaInstaller
- Defined in:
- extend/os/linux/formula_installer.rb
This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.
Instance Method Summary collapse
-
#fix_dynamic_linkage?(keg) ⇒ Boolean
private
Fixing dynamic linkage on Linux only relativises absolute symlinks, so skip starting a sandboxed worker for kegs without any.
- #fresh_install?(formula) ⇒ Boolean private
Instance Method Details
#fix_dynamic_linkage?(keg) ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Fixing dynamic linkage on Linux only relativises absolute symlinks, so skip starting a sandboxed worker for kegs without any.
20 |
# File 'extend/os/linux/formula_installer.rb', line 20 def fix_dynamic_linkage?(keg) = keg.absolute_symlinks? |
#fresh_install?(formula) ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
12 13 14 15 |
# File 'extend/os/linux/formula_installer.rb', line 12 def fresh_install?(formula) !Homebrew::EnvConfig.developer? && !formula.any_version_installed? end |