Sha256: c14a0cb34efd0125c19d7ca6fffaf81bfbde7389f1ae77095a8ebb22f602dde2

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

UPM::Tool.new "xbps" do

  os "void"

  command "install", "xbps-install", root: true
  command "update", "xbps-install -S", root: true
  command "upgrade", "xbps-install -Su", root: true
  command "files", "xbps-query -f"
  command "search", "xbps-query --regex -Rs"
  # command "info", ""
  
  command "list" do |args|
    if args.any?
      run "xbps-query", "-f", *args
    else
      run "xbps-query", "-l"
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
upm-0.1.2 lib/upm/tools/xbps.rb
upm-0.1.0 lib/upm/tools/xbps.rb