Sha256: 8360235047bd22c803eb48315552970874c165645609dee1128437400c639e86
Contents?: true
Size: 789 Bytes
Versions: 3
Compression:
Stored size: 789 Bytes
Contents
UPM::Tool.new "yum" do os "centos", "fedora", "rhel" command "install", "yum install", root: true command "remove", "yum remove", root: true command "update", "yum updateinfo", root: true command "upgrade", "yum update", root: true command "clean", "yum clean", root: true command "files", "rpm -ql", paged: true command "search" do |args| query = args.join(".+") run "yum", "search", *args, sort: true, paged: true, highlight: query end command "list" do |args| if args.any? highlight_query = args.join(".+") grep_query = /#{highlight_query}/ run "yum", "list", "installed", grep: grep_query, highlight: highlight_query, paged: true else run "yum", "list", "installed", paged: true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
upm-0.1.18 | lib/upm/tools/yum.rb |
upm-0.1.17 | lib/upm/tools/yum.rb |
upm-0.1.16 | lib/upm/tools/yum.rb |