diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index 42ea753..e5bd4aa 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -1,6 +1,6 @@ #!/bin/bash ## Author: SuperManito -## Modified: 2025-05-10 +## Modified: 2025-05-11 ## License: MIT ## GitHub: https://github.com/SuperManito/LinuxMirrors ## Website: https://linuxmirrors.cn @@ -5875,30 +5875,6 @@ enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS gpgcheck=1 EOF - if [[ "${1#*.}" -ge 8 ]]; then - cat <<'EOF' >$Dir_YumRepos/AnolisOS-kernel-5.10.repo -[kernel-5.10] -name=AnolisOS-$releasever - Kernel 5.10 -baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-5.10/$basearch/os -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS -gpgcheck=1 - -[kernel-5.10-source] -name=AnolisOS-$releasever - Kernel 5.10 source -baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-5.10/source -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS -gpgcheck=1 - -[kernel-5.10-debug] -name=AnolisOS-$releasever - Kernel 5.10 debug -baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-5.10/$basearch/debug -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS -gpgcheck=1 -EOF - fi cat <<'EOF' >$Dir_YumRepos/AnolisOS-Plus.repo [Plus] name=AnolisOS-$releasever - Plus @@ -5951,6 +5927,64 @@ enabled=0 gpgkey=https://mirrors.openanolis.cn/anolis/RPM-GPG-KEY-ANOLIS gpgcheck=1 EOF + ## 8.8 新增 + if [[ "${1#*.}" -ge 8 ]]; then + cat <<'EOF' >$Dir_YumRepos/AnolisOS-kernel-5.10.repo +[kernel-5.10] +name=AnolisOS-$releasever - Kernel 5.10 +baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-5.10/$basearch/os +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS +gpgcheck=1 + +[kernel-5.10-source] +name=AnolisOS-$releasever - Kernel 5.10 source +baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-5.10/source +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS +gpgcheck=1 + +[kernel-5.10-debug] +name=AnolisOS-$releasever - Kernel 5.10 debug +baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-5.10/$basearch/debug +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS +gpgcheck=1 +EOF + fi + ## 8.10 新增 + if [[ "${1#*.}" -eq 10 ]]; then + cat <<'EOF' >$Dir_YumRepos/AnolisOS-Devel.repo +[Devel] +name=AnolisOS-$releasever - Devel +baseurl=http://mirrors.openanolis.cn/anolis/$releasever/Devel/$basearch/os +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS +gpgcheck=1 +EOF + cat <<'EOF' >$Dir_YumRepos/AnolisOS-NDE.repo +[NDE] +name=AnolisOS-$releasever - NDE +baseurl=http://mirrors.openanolis.cn/anolis/$releasever/NDE/$basearch/os +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS +gpgcheck=1 + +[NDE-debuginfo] +name=AnolisOS-$releasever - NDE Debuginfo +baseurl=https://mirrors.openanolis.cn/anolis/$releasever/NDE/$basearch/debug +enabled=0 +gpgkey=https://mirrors.openanolis.cn/anolis/RPM-GPG-KEY-ANOLIS +gpgcheck=1 + +[NDE-source] +name=AnolisOS-$releasever - NDE Source +baseurl=https://mirrors.openanolis.cn/anolis/$releasever/NDE/source/ +enabled=0 +gpgkey=https://mirrors.openanolis.cn/anolis/RPM-GPG-KEY-ANOLIS +gpgcheck=1 +EOF + fi ;; esac } diff --git a/docs/assets/images/icon/deepin.png b/docs/assets/images/icon/deepin.png index fdf9070..2ecc4c6 100644 Binary files a/docs/assets/images/icon/deepin.png and b/docs/assets/images/icon/deepin.png differ diff --git a/docs/index.md b/docs/index.md index ba9d7a7..f832be4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -105,8 +105,8 @@ hide: | Ubuntu :material-information-outline:{ title="支持乌班图家族衍生操作系统,例如 优麒麟 Kubuntu
由于迭代速度较快并不直接支持所有非 LTS 的版本,具体详见使用文档中的高级用法" } | _14 ~ 25_ | | Kali Linux | _all_ | | Linux Mint | _19 ~ 22 / LMDE 6_ | -| Deepin(深度) | _all_ | -| Zorin OS | _all_ | +| Deepin(深度) | _all_ | +| Zorin OS | _all_ | | Armbian | _all_ | | Proxmox VE | _all_ | | Raspberry Pi OS | _all_ | diff --git a/docs/other/index.md b/docs/other/index.md index 90c1117..83b5553 100644 --- a/docs/other/index.md +++ b/docs/other/index.md @@ -18,22 +18,22 @@ hide: Ubuntu - Fedora + Fedora Kali Linux - CentOS + CentOS Linux Mint Rocky Linux - Deepin(深度) + Deepin(深度) AlmaLinux - Zorin OS + Zorin OS openEuler(开源欧拉) diff --git a/docs/use/index.md b/docs/use/index.md index 6793fec..49dad2b 100644 --- a/docs/use/index.md +++ b/docs/use/index.md @@ -523,7 +523,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help | Ubuntu | `ubuntu` `ubuntu-ports` | | Kali Linux | `kali` | | Linux Mint | `linuxmint` `ubuntu` `ubuntu-ports` `debian` | - | Deepin(深度) | `deepin` | + | Deepin(深度) | `deepin` | | Zorin OS | `ubuntu` `ubuntu-ports` | | Armbian | `armbian` | | Proxmox VE | `proxmox` |