Skip to content

Commit d21cd48

Browse files
Replace pacman -Sy with pacman -S in Arch Linux installation guides (#252)
According to ArchWiki, using `pacman -Sy` to perform partial upgrades is not supported.
1 parent 8badb6e commit d21cd48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/guide/quick-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ brew install xmake
8585

8686
::: code-group
8787

88-
```sh [Archlinux]
89-
sudo pacman -Sy xmake
88+
```sh [Arch Linux]
89+
sudo pacman -S xmake
9090
```
9191

9292
```sh [Alpine]

docs/zh/guide/quick-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ brew install xmake
8787

8888
::: code-group
8989

90-
```sh [Archlinux]
91-
sudo pacman -Sy xmake
90+
```sh [Arch Linux]
91+
sudo pacman -S xmake
9292
```
9393

9494
```sh [Alpine]

0 commit comments

Comments
 (0)