Skip to content
Snippets Groups Projects
Commit b484ddc8 authored by Markus Reiter's avatar Markus Reiter
Browse files

Document `Pkg`.

parent be019cdb
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,9 @@
require "cask/macos"
module Cask
# Helper class for uninstalling `.pkg` installers.
#
# @api private
class Pkg
def self.all_matching(regexp, command)
command.run("/usr/sbin/pkgutil", args: ["--pkgs=#{regexp}"]).stdout.split("\n").map do |package_id|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment