Class: Babushka::PacmanHelper
- Defined in:
- lib/babushka/pkg_helpers/pacman_helper.rb
Class Method Summary collapse
-
.manager_key ⇒ Object
How packages should be specified in deps, e.g.
-
.pkg_binary ⇒ Object
The name of the binary itself.
-
.pkg_cmd ⇒ Object
The full command to run the package manager.
-
.pkg_type ⇒ Object
a description of the type of package, that makes sense in the context of, e.g.
Methods inherited from PkgHelper
all_manager_keys, bin_path, cmd_in_path?, handle_install!, has?, install!, manager_dep, prefix, present?, should_sudo?, update_pkg_lists, update_pkg_lists_if_required
Methods included from ShellHelpers
cmd_dir, current_username, log_shell, login_shell, raw_shell, shell, shell!, shell?, shell_cmd, sudo, which
Methods included from LogHelpers
debug, deprecated!, log, log_block, log_error, log_ok, log_stderr, log_warn, removed!
Class Method Details
.manager_key ⇒ Object
How packages should be specified in deps, e.g. “via :apt, ‘zsh’”
7 |
# File 'lib/babushka/pkg_helpers/pacman_helper.rb', line 7 def manager_key; :pacman end |
.pkg_binary ⇒ Object
The name of the binary itself
6 |
# File 'lib/babushka/pkg_helpers/pacman_helper.rb', line 6 def pkg_binary; "pacman" end |
.pkg_cmd ⇒ Object
The full command to run the package manager
5 |
# File 'lib/babushka/pkg_helpers/pacman_helper.rb', line 5 def pkg_cmd; "#{pkg_binary}" end |
.pkg_type ⇒ Object
a description of the type of package, that makes sense in the context of, e.g. “the zsh deb”
4 |
# File 'lib/babushka/pkg_helpers/pacman_helper.rb', line 4 def pkg_type; :package end |