Skip to content

Commit

Permalink
Update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Mar 18, 2019
1 parent ca7145e commit 7789aa8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions language/src/modules/Language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def Save
SCR.Write(path(".sysconfig.language.INSTALLED_LANGUAGES"), @languages)
SCR.Write(path(".sysconfig.language"), nil)

command = save_command_for(locale)
command = store_locale_command(locale)

log.info("Making language settings persistent: #{command.join(' ')}")

Expand Down Expand Up @@ -1409,8 +1409,8 @@ def fbiterm?
#
# @param locale [String]
#
# @return [Array] an array containing the command to be executed
def save_command_for(locale)
# @return [Array<String>] an array containing the command to be executed
def store_locale_command(locale)
if Stage.initial
# do use --root option, running in chroot does not work
["/usr/bin/systemd-firstboot", "-root", Installation.destdir, "--locale", locale]
Expand Down

0 comments on commit 7789aa8

Please sign in to comment.