Added attempt to change locale to en us utf-8

rewrite
hak8or 5 years ago
parent 6c3ce20af6
commit 95192a8e3e
  1. 8
      arch_setup.sh

@ -63,6 +63,14 @@ pacman -Syu --noconfirm > $LOGFILE 2>&1
echo "$TAGSTR Installing base-devel, git, htop, vim, rsync, and cowsay"
pacman -Syu base-devel git htop vim cowsay rsync --noconfirm --needed > $LOGFILE 2>&1
# Change locale to EN US UTF-8
echo "$TAGSTR Changing locale to EN US UTF-8"
sed -i 's/if (( EUID == 0 )); then/if (( 0 )); then/' /usr/bin/makepkg > $LOGFILE 2>&1
sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen > $LOGFILE 2>&1
locale-gen > $LOGFILE 2>&1
echo LANG=en_US.UTF-8 > /etc/locale.conf > $LOGFILE 2>&1
export LANG=en_US.UTF-8
# Install Yaourt. Why yaourt instead of pacaur? Because pacaur doesn't allow
# itself to be ran as root, even though all we have is root in the container,
# and I don't want to bother fiddling with users just for this. Yaourt on the

Loading…
Cancel
Save