diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-06-17 18:13:55 -0300 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-07-25 18:28:17 +0200 |
commit | 1febb47b2c689ffec7b936885ab8dd36fc24b18b (patch) | |
tree | 6c7e019b0d4174260690d084c2aba68b03c10640 | |
parent | c57284e053c81bdc202e360f26444800b9fc2695 (diff) | |
download | devtools32-1febb47b2c689ffec7b936885ab8dd36fc24b18b.tar.xz |
Edit /etc/locale.gen instead of overwrite.
I need this for archiso, instead of maintaining a private copy.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-x | mkarchroot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -220,7 +220,7 @@ else fi if [ -e "${working_dir}/etc/locale.gen" ]; then - echo -e 'en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8' > "${working_dir}/etc/locale.gen" + sed -i 's@^#\(en_US\|de_DE\)\(\.UTF-8\)@\1\2@' "${working_dir}/etc/locale.gen" chroot "${working_dir}" locale-gen fi |