From 21e015a0c21d1b690349d7de939d8d07c44b1ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 10 Oct 2025 23:26:44 +0200 Subject: [PATCH] Standardize locale on all runs --- Makefile | 6 ++++++ install.sh | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 51d3fd2..c1fc11c 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +# Make sure to standardize locale, regardless of the machine config +# +# Having a different locale broke "yes | pacman -S" to force-install +# iptables, for example +export LC_ALL = en_US.UTF-8 + ansible_run = ansible-playbook --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS} .PHONY: config diff --git a/install.sh b/install.sh index c771a42..b4c79ff 100755 --- a/install.sh +++ b/install.sh @@ -8,6 +8,12 @@ set -o errexit set -o nounset +# Make sure to standardize locale, regardless of the machine config +# +# Having a different locale broke "yes | pacman -S" to force-install +# iptables, for example +export LC_ALL="en_US.UTF-8" + DOTDIR="/var/lib/dotfiles" os_release_file=/etc/os-release