From ba11c40e495b8c6278a3ff801cc11065a135c289 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Wed, 8 Jun 2022 11:38:52 +0300 Subject: configs/: use the C.UTF-8 locale The glibc 2.35-6 package ships with the C.UTF-8 locale included. This means there is now a UTF-8 locale available by default and en_US.UTF-8, which requires editing /etc/locale.gen and running locale-gen, is not needed anymore. Implements #175. --- .../releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook (limited to 'configs/releng/airootfs/etc/pacman.d/hooks') diff --git a/configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook b/configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook deleted file mode 100644 index 82dd199..0000000 --- a/configs/releng/airootfs/etc/pacman.d/hooks/40-locale-gen.hook +++ /dev/null @@ -1,13 +0,0 @@ -# remove from airootfs! -[Trigger] -Operation = Install -Type = Package -Target = glibc - -[Action] -Description = Uncommenting en_US.UTF-8 locale and running locale-gen... -When = PostTransaction -Depends = glibc -Depends = sed -Depends = sh -Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen" -- cgit v1.2.3-70-g09d2