Skip to content

Commit

Permalink
use generic set to uncomment stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Mar 3, 2017
1 parent fe4c635 commit 1362e33
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 7 deletions.
11 changes: 8 additions & 3 deletions src/lib/packager/cfa/zypp_conf.rb
Expand Up @@ -18,9 +18,14 @@ def initialize(file_handler: nil)

# Set options to keep a minimalistic package selection
def set_minimalistic!
data["main"]["solver.onlyRequires"] = "true"
data["main"]["rpm.install.excludedocs"] = "yes"
data["main"]["multiversion"] = nil
tree = data["main"]
if !tree
tree = ::CFA::AugeasTree.new
data["main"] = tree
end
generic_set("solver.onlyRequires", "true", tree)
generic_set("rpm.install.excludedocs", "yes", tree)
generic_set("multiversion", nil, tree)
end

def section(name)
Expand Down

0 comments on commit 1362e33

Please sign in to comment.