solarityliveboot/airootfs/etc/pacman.d/hooks/40-locale-gen.hook

14 lines
315 B
Text
Raw Normal View History

2022-01-27 00:50:47 -05:00
# 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"