Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
locale: remove extra newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Fries authored and fries1234 committed Sep 15, 2022
1 parent 95b1bc5 commit 21eb824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/locale.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 21eb824

Please sign in to comment.