From 27feedbb7d9eb7fb3987043286ce54a844c4c164 Mon Sep 17 00:00:00 2001 From: BingoKingo <24961267+BingoKingo@users.noreply.github.com> Date: Sun, 8 Dec 2024 02:15:51 +0800 Subject: [PATCH] fix distribution names (#476) Co-authored-by: Anonymous --- README.md | 10 +++++----- distro-build/openkylin.sh | 2 +- distro-build/opensuse.sh | 2 +- distro-plugins/openkylin.sh | 2 +- distro-plugins/opensuse.sh | 2 +- proot-distro.sh | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0931e7f0e..057b98104 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ Available distributions in format `proot-distro alias : description`: * `archlinux`: Arch Linux ARM * `artix`: Artix Linux (AArch64 only) * `chimera`: Chimera Linux (20240707) -* `debian`: Debian (stable) -* `debian-oldstable`: Debian (old stable) -* `deepin`: Deepin (beige) +* `debian`: Debian (bookworm) +* `debian-oldstable`: Debian (bullseye) +* `deepin`: deepin (beige) * `fedora`: Fedora 40 (64bit only) * `manjaro`: Manjaro (AArch64 only) -* `openkylin`: OpenKylin (Yangtze) -* `opensuse`: OpenSUSE (Tumbleweed) +* `openkylin`: openKylin (nile) +* `opensuse`: openSUSE (Tumbleweed) * `pardus`: Pardus (yirmibir) * `ubuntu`: Ubuntu (24.04) * `ubuntu-oldlts`: Ubuntu (22.04) diff --git a/distro-build/openkylin.sh b/distro-build/openkylin.sh index 4b2b0cf20..f80ae414a 100644 --- a/distro-build/openkylin.sh +++ b/distro-build/openkylin.sh @@ -1,4 +1,4 @@ -dist_name="OpenKylin" +dist_name="openKylin" dist_version="nile" bootstrap_distribution() { diff --git a/distro-build/opensuse.sh b/distro-build/opensuse.sh index 82e66083b..98d82ab6e 100644 --- a/distro-build/opensuse.sh +++ b/distro-build/opensuse.sh @@ -1,4 +1,4 @@ -dist_name="OpenSUSE" +dist_name="openSUSE" bootstrap_distribution() { sudo rm -f "${ROOTFS_DIR}"/opensuse-*.tar.xz diff --git a/distro-plugins/openkylin.sh b/distro-plugins/openkylin.sh index 95988e9db..5b102d461 100644 --- a/distro-plugins/openkylin.sh +++ b/distro-plugins/openkylin.sh @@ -1,7 +1,7 @@ # 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="OpenKylin" +DISTRO_NAME="openKylin" DISTRO_COMMENT="Version 'nile'." TARBALL_URL['aarch64']="https://github.com/termux/proot-distro/releases/download/v4.10.0/openkylin-aarch64-pd-v4.10.0.tar.xz" diff --git a/distro-plugins/opensuse.sh b/distro-plugins/opensuse.sh index af5d51219..3ef1760ae 100644 --- a/distro-plugins/opensuse.sh +++ b/distro-plugins/opensuse.sh @@ -1,7 +1,7 @@ # 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="OpenSUSE" +DISTRO_NAME="openSUSE" DISTRO_COMMENT="Rolling release (Tumbleweed)." TARBALL_URL['aarch64']="https://github.com/termux/proot-distro/releases/download/v4.6.0/opensuse-aarch64-pd-v4.6.0.tar.xz" diff --git a/proot-distro.sh b/proot-distro.sh index 682d6e48f..8d7a43cff 100755 --- a/proot-distro.sh +++ b/proot-distro.sh @@ -2589,7 +2589,7 @@ command_help() { msg "${CYAN}a set of functions with standardized command line interface${RST}" msg "${CYAN}to let user easily manage Linux PRoot containers. By default${RST}" msg "${CYAN}it supports a number of well known Linux distributions such${RST}" - msg "${CYAN}Alpine Linux, Debian or OpenSUSE. However it is possible to${RST}" + msg "${CYAN}Alpine Linux, Debian or openSUSE. However it is possible to${RST}" msg "${CYAN}add others with a help of plug-ins.${RST}" msg msg "${CYAN}List of the available commands:${RST}"