From 20df80e2931dbd578d06f07bb0c90658792b39c1 Mon Sep 17 00:00:00 2001 From: Poplar at twilight <87272716+poplar-at-twilight@users.noreply.github.com> Date: Tue, 26 Sep 2023 22:24:18 +0800 Subject: [PATCH] Update opensuse.rst --- source/opensuse.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source/opensuse.rst b/source/opensuse.rst index 390c5775..1e55f4f4 100644 --- a/source/opensuse.rst +++ b/source/opensuse.rst @@ -42,25 +42,25 @@ i586, x86_64 :: - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/distribution/leap/$releasever/repo/oss' 'USTC:OSS' - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/distribution/leap/$releasever/repo/non-oss' 'USTC:NON-OSS' - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/oss' 'USTC:UPDATE-OSS' - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/non-oss' 'USTC:UPDATE-NON-OSS' + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/distribution/leap/$releasever/repo/oss' USTC:OSS + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/distribution/leap/$releasever/repo/non-oss' USTC:NON-OSS + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/oss' USTC:UPDATE-OSS + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/non-oss' USTC:UPDATE-NON-OSS 对于 15.3 或更高版本的 openSUSE Leap,还需添加 SLE 更新源和 Backports 更新源: :: - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/sle' 'USTC:UPDATE-SLE' - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/backports' 'USTC:UPDATE-BACKPORTS' + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/sle' USTC:UPDATE-SLE + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/leap/$releasever/backports' USTC:UPDATE-BACKPORTS 对于 openSUSE Tumbleweed,只需执行: :: - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/oss' 'USTC:OSS' - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/non-oss' 'USTC:NON-OSS' - sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/tumbleweed' 'USTC:UPDATE' + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/oss' USTC:OSS + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/non-oss' USTC:NON-OSS + sudo zypper ar -fcg 'https://mirrors.ustc.edu.cn/opensuse/update/tumbleweed' USTC:UPDATE 命令中最后一个参数为每一个源指定了一个 alias(别称),可以根据个人喜好更改。