Skip to content

Commit

Permalink
archlinux: update distro_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sylirre committed Dec 10, 2023
1 parent ed1426d commit 3de450e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions distro-build/archlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ write_plugin() {
${TAB}for f in su su-l system-local-login system-remote-login; do
${TAB}${TAB}echo "session required pam_env.so readenv=1" >> ./etc/pam.d/"\${f}"
${TAB}done
${TAB}# Configure en_US.UTF-8 locale.
${TAB}sed -i -E 's/#[[:space:]]?(en_US.UTF-8[[:space:]]+UTF-8)/\1/g' ./etc/locale.gen
${TAB}run_proot_cmd locale-gen
}
EOF
}

0 comments on commit 3de450e

Please sign in to comment.