Skip to content

Commit

Permalink
support minimal installation(FATE#313149)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Feb 7, 2014
1 parent 8b1adfd commit e536d09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/clients/users_finish.rb
Expand Up @@ -26,6 +26,9 @@
# Authors: Jiri Suchomel <jsuchome@suse.cz>
#
# $Id$

require "installation/minimal_installation"

module Yast
class UsersFinishClient < Client
def main
Expand Down Expand Up @@ -55,11 +58,13 @@ def main
Builtins.y2debug("param=%1", @param)

if @func == "Info"
minimal_inst = Installation::MinimalInstallation.instance.enabled?
return {
"steps" => 1,
# progress step title
"title" => _("Writing Users Configuration..."),
"when" => [:installation, :live_installation, :autoinst]
"when" => minimal_inst ? [] :
[:installation, :live_installation, :autoinst]
}
elsif @func == "Write"
# disable UI (progress)
Expand Down

0 comments on commit e536d09

Please sign in to comment.