Merge pull request #281 from dylanmtaylor/patch-2

If user does not change keyboard language, log it.
This commit is contained in:
Anton Hvornum 2021-04-12 11:54:34 +00:00 committed by GitHub
commit 897b67f751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -449,4 +449,6 @@ class Installer():
with open(f'{self.target}/etc/vconsole.conf', 'w') as vconsole:
vconsole.write(f'KEYMAP={language}\n')
vconsole.write(f'FONT=lat9w-16\n')
else:
self.log(f'Keyboard language was not changed from default (no language specified).', fg="yellow", level=LOG_LEVELS.Info)
return True