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

14 lines
384 B
Plaintext
Raw Permalink Normal View History

2021-11-06 18:07:29 +03:00
# remove from airootfs!
[Trigger]
Operation = Install
Type = Package
Target = glibc
[Action]
Description = Uncommenting en_US.UTF-8 and ru_RU.UTF-8 locales 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 && sed -i 's/#\(ru_RU\.UTF-8\)/\1/' /etc/locale.gen && locale-gen"