diff --git a/etc/pacman.d/hooks/40-locale-gen.hook b/etc/pacman.d/hooks/40-locale-gen.hook new file mode 100644 index 0000000..c327e5c --- /dev/null +++ b/etc/pacman.d/hooks/40-locale-gen.hook @@ -0,0 +1,12 @@ +[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" \ No newline at end of file