Commit 364cad22 authored by BrLi's avatar BrLi
Browse files simply the locale.conf creation, we don't need to touch it first

parent 220c60f7
...@@ -122,8 +122,7 @@ create_chroot() { ...@@ -122,8 +122,7 @@ create_chroot() {
status_done status_done
status_start "Setting up locale.conf..." status_start "Setting up locale.conf..."
sudo touch "${chroot_dir}/etc/locale.conf" sudo sh -c "echo 'LANG=C' > '${chroot_dir}/etc/locale.conf'"
sudo sh -c "echo 'LANG=C' >> '${chroot_dir}/etc/locale.conf'"
sudo sh -c "echo 'LC_MESSAGES=C' >> '${chroot_dir}/etc/locale.conf'" sudo sh -c "echo 'LC_MESSAGES=C' >> '${chroot_dir}/etc/locale.conf'"
status_done status_done
Markdown is supported
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