Commit 0bf0fd83 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'nkupdates' into 'master'

Fixed typo, -e must come first

See merge request idms-linux-rolling/projects/idms-linux-installer!18
parents 2f740696 fd0ae5ee
......@@ -35,7 +35,7 @@ class SysLocale:
raise OSError(f'Failed to run systemd-firstboot to set locale, return code {proc.retcode}: {output}')
# Enable locale
proc = AsyncSubprocess(['arch-chroot', system_path, 'perl', '-pie', f's/^#{locale}/{locale}/', '/etc/locale.gen'])
proc = AsyncSubprocess(['arch-chroot', system_path, 'perl', '-p', '-e', f's/^#{locale}/{locale}/', '-i', '/etc/locale.gen'])
output = proc.run()
# Raise an exception if we didn't get a positive response back
if proc.retcode != 0:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment