This commit is contained in:
Super Manito
2025-09-13 05:36:07 +08:00
parent 6b1d232e57
commit dbead43cc6
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
## Author: SuperManito
## Modified: 2025-09-06
## Modified: 2025-09-13
## License: MIT
## GitHub: https://github.com/SuperManito/LinuxMirrors
## Website: https://linuxmirrors.cn
@@ -719,6 +719,9 @@ function get_os_release_value() {
}
function collect_system_info() {
if [ ! -s "${File_LinuxRelease}" ]; then
unsupport_system_error "未知系统"
fi
## 定义系统名称
SYSTEM_NAME="$(get_os_release_value NAME)"
SYSTEM_PRETTY_NAME="$(get_os_release_value PRETTY_NAME)"