Skip to content

Commit

Permalink
Do not offer to install "all" recommended packages on the first run (…
Browse files Browse the repository at this point in the history
…boo#902394).

This reverts commit e634cb1
  • Loading branch information
mvidner committed Jun 23, 2015
1 parent 8611640 commit 7d4e3b6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/clients/sw_single.rb
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,6 @@ def StartSWSingle
opts = GetPackagerOptions()
Builtins.y2milestone("Using packager widget options: %1", opts)

home = ENV["home"] || "/root"
# unset the ignoreAlreadyRecommended flag on the very first run,
# otherwise keep the value from the config file
Pkg.SetSolverFlags({ "ignoreAlreadyRecommended" => false }) unless File.exist?(File.join(home, ".config", "YaST2", "YQPackageSelector.conf"))

result = PackagesUI.RunPackageSelector(opts) # No: ask user via package selection widget
Builtins.y2milestone("Package selector retured: %1", result)
if result == :accept
Expand Down

0 comments on commit 7d4e3b6

Please sign in to comment.