🚀 feat: add local generation hook

This commit is contained in:
eshanized
2025-01-09 15:25:15 +05:30
parent a6d364aac2
commit 427709625c

View File

@@ -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"