Commit 364cad22 authored by Chaoting Liu's avatar Chaoting Liu 😖 simply the locale.conf creation, we don't need to touch it first

parent 220c60f7
......@@ -122,8 +122,7 @@ create_chroot() {
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'"
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