mirror of
https://github.com/termux/proot-distro.git
synced 2024-11-13 12:49:19 +00:00
19 lines
1.1 KiB
Bash
19 lines
1.1 KiB
Bash
# This is a default distribution plug-in.
|
|
# Do not modify this file as your changes will be overwritten on next update.
|
|
# If you want customize installation, please make a copy.
|
|
DISTRO_NAME="Ubuntu (24.04)"
|
|
DISTRO_COMMENT="LTS release (noble)."
|
|
|
|
TARBALL_URL['aarch64']="https://github.com/termux/proot-distro/releases/download/v4.11.0/ubuntu-noble-aarch64-pd-v4.11.0.tar.xz"
|
|
TARBALL_SHA256['aarch64']="a8883244a7031559a2bd8dc16b7d8afc947930b611819d8a28a09545097a6ba5"
|
|
TARBALL_URL['arm']="https://github.com/termux/proot-distro/releases/download/v4.11.0/ubuntu-noble-arm-pd-v4.11.0.tar.xz"
|
|
TARBALL_SHA256['arm']="dc5478e96f648e868d68c15c400338460088255d5d964bdfa33e5456ceea54ae"
|
|
TARBALL_URL['x86_64']="https://github.com/termux/proot-distro/releases/download/v4.11.0/ubuntu-noble-x86_64-pd-v4.11.0.tar.xz"
|
|
TARBALL_SHA256['x86_64']="f024b1e17413737d8b385d22736d2e3eb2af9ba665fdbda1277bcca8f397e5a2"
|
|
|
|
distro_setup() {
|
|
# Configure en_US.UTF-8 locale.
|
|
sed -i -E 's/#[[:space:]]?(en_US.UTF-8[[:space:]]+UTF-8)/\1/g' ./etc/locale.gen
|
|
run_proot_cmd DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales
|
|
}
|