This commit is contained in:
SuperManito
2024-08-22 18:19:49 +08:00
parent 27aff7f038
commit bd79389e63
6 changed files with 70 additions and 65 deletions

View File

@@ -14,14 +14,14 @@
| `--branch-portage` | 指定 Gentoo 系统 portage 仓库的软件源分支(路径) | 分支名 |
| `--codename` | 指定 Debian 系操作系统的版本代号 | 代号名称 |
| `--protocol` | 指定 WEB 协议 | `http``https` |
| `--use-intranet-source` | 是否优先使用内网软件源地址 | `true``false` |
| `--use-official-source` | 是否使用目标操作系统的官方软件源 | `true``false` |
| `--install-epel` | 是否安装 EPEL 附加软件包 | `true``false` |
| `--close-firewall` | 是否关闭防火墙 | `true``false` |
| `--backup` | 是否备份原有软件源 | `true``false` |
| `--upgrade-software` | 是否更新软件包 | `true``false` |
| `--clean-cache` | 是否清理下载缓存 | `true``false` |
| `--print-diff` | 是否打印源文件修改前后差异 | `true``false` |
| `--use-intranet-source` | 优先使用内网软件源地址 | 无 |
| `--use-official-source` | 使用目标操作系统的官方软件源 | 无 |
| `--only-epel` | 仅更换 EPEL 软件源模式 | 无 |
| `--ignore-backup-tips` | 忽略覆盖备份提示(即不覆盖备份) | 无 |
| `--help` | 查看帮助菜单 | 无 |
@@ -166,7 +166,7 @@ bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
--source mirror.example.com \
--protocol http \
--intranet false \
--use-intranet-source false \
--install-epel true \
--close-firewall true \
--backup true \