Ensure Pkg
is namespaced correctly.
This commit is contained in:
parent
271c071378
commit
171ea3fe56
@ -218,7 +218,7 @@ module Hbc
|
|||||||
def uninstall_pkgutil(*pkgs, command: nil, **_)
|
def uninstall_pkgutil(*pkgs, command: nil, **_)
|
||||||
ohai "Uninstalling packages:"
|
ohai "Uninstalling packages:"
|
||||||
pkgs.each do |regex|
|
pkgs.each do |regex|
|
||||||
Hbc::Pkg.all_matching(regex, command).each do |pkg|
|
::Hbc::Pkg.all_matching(regex, command).each do |pkg|
|
||||||
puts pkg.package_id
|
puts pkg.package_id
|
||||||
pkg.uninstall
|
pkg.uninstall
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user