0
0
mirror of https://github.com/termux/proot-distro.git synced 2024-11-13 12:49:19 +00:00
proot-distro/distro-plugins/ubuntu-oldlts.sh
2024-09-30 00:17:39 +03:00

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 (22.04)"
DISTRO_COMMENT="Previous LTS release (jammy)."
TARBALL_URL['aarch64']="https://github.com/termux/proot-distro/releases/download/v4.11.0/ubuntu-jammy-aarch64-pd-v4.11.0.tar.xz"
TARBALL_SHA256['aarch64']="caddd5b6d4dc48fd028e369a9ecb101f96e01ad3957b46e77f637252612ec628"
TARBALL_URL['arm']="https://github.com/termux/proot-distro/releases/download/v4.11.0/ubuntu-jammy-arm-pd-v4.11.0.tar.xz"
TARBALL_SHA256['arm']="1add960ad0513af5c35d5b8ebfa645999f6338be27f74bed74086236d9a8e998"
TARBALL_URL['x86_64']="https://github.com/termux/proot-distro/releases/download/v4.11.0/ubuntu-jammy-x86_64-pd-v4.11.0.tar.xz"
TARBALL_SHA256['x86_64']="63537446a798480b9fb1415b195ebb9f9e67ef291c49d044fc5444935121b6f9"
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
}