locale: remove extra newline

axtloss/rework-partitioning
Fries 2 years ago committed by fries1234
parent 95b1bc52c1
commit 21eb824abe

@ -24,7 +24,7 @@ pub fn set_timezone(timezone: &str) {
pub fn set_locale(locale: String) {
files_eval(
files::append_file("/mnt/etc/locale.gen", "en_US.UTF-8 UTF-8\n"),
files::append_file("/mnt/etc/locale.gen", "en_US.UTF-8 UTF-8"),
"add en_US.UTF-8 UTF-8 to locale.gen",
);
for i in (0..locale.split(' ').count()).step_by(2) {

Loading…
Cancel
Save