mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Use local-gen instead of dpkg-reconfigure locales
locale-gen is more direct and does not produce an stderr output
This commit is contained in:
parent
154c438729
commit
d0970f77fe
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class GenerateLocale(Task):
|
|||
search = '# ' + locale_str
|
||||
sed_i(locale_gen, search, locale_str)
|
||||
|
||||
command = ['/usr/sbin/chroot', info.root, '/usr/sbin/dpkg-reconfigure', '--priority=critical', 'locales']
|
||||
command = ['/usr/sbin/chroot', info.root, '/usr/sbin/locale-gen']
|
||||
log_check_call(command)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue