Class: Autoproj::PackageManagers::PacmanManager
- Inherits:
-
ShellScriptManager
- Object
- Manager
- ShellScriptManager
- Autoproj::PackageManagers::PacmanManager
- Defined in:
- lib/autoproj/package_managers/pacman_manager.rb
Overview
Package manager interface for systems that use pacman (i.e. arch) 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) ⇒ PacmanManager
constructor
A new instance of PacmanManager.
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) ⇒ PacmanManager
Returns a new instance of PacmanManager.
6 7 8 9 10 |
# File 'lib/autoproj/package_managers/pacman_manager.rb', line 6 def initialize(ws) super(ws, true, %w[pacman -Sy --needed], %w[pacman -Sy --needed --noconfirm]) end |