Class: Autoproj::PackageManagers::EmergeManager
- Inherits:
-
ShellScriptManager
- Object
- Manager
- ShellScriptManager
- Autoproj::PackageManagers::EmergeManager
- Defined in:
- lib/autoproj/package_managers/emerge_manager.rb
Overview
Package manager interface for systems that use emerge (i.e. gentoo) as their package manager
Instance Attribute Summary
Attributes inherited from ShellScriptManager
#auto_install_cmd, #needs_locking, #needs_root, #user_install_cmd
Attributes inherited from Manager
Instance Method Summary collapse
-
#initialize(ws) ⇒ EmergeManager
constructor
A new instance of EmergeManager.
Methods inherited from ShellScriptManager
execute, #generate_auto_os_script, #generate_script, #generate_user_os_script, #install, #needs_locking?, #needs_root?, #osdeps_interaction
Methods inherited from Manager
#call_while_empty?, #configure_manager, #enabled?, #initialize_environment, #os_dependencies, #silent?, #strict?
Constructor Details
#initialize(ws) ⇒ EmergeManager
Returns a new instance of EmergeManager.
6 7 8 9 10 |
# File 'lib/autoproj/package_managers/emerge_manager.rb', line 6 def initialize(ws) super(ws, true, %w[emerge], %w[emerge --noreplace]) end |