Skip to content

Commit

Permalink
linux-packages: minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Jul 25, 2016
1 parent 2776e02 commit 55994ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions v2/cn/linux-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ sudo yum install openresty
```ini
[openresty]
name=Official OpenResty Repository
baseurl=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/epel-RELEASE_VERSION-$basearch/
baseurl=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/epel-RELEASE-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/pubkey.gpg
enabled=1
enabled_metadata=1
```

你需要将上面内容中的 `RELEASE_VERSION` 替换为你的 RHEL 系统实际的大版本号,比如 `5`
你需要将上面内容中的 `RELEASE` 替换为你的 RHEL 系统实际的大版本号,比如 `5`
`6` 或者 `7`

# Fedora
Expand Down
4 changes: 2 additions & 2 deletions v2/en/linux-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ create the file named `/etc/yum.repos.d/OpenResty.repo` with the following conte
```ini
[openresty]
name=Official OpenResty Repository
baseurl=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/epel-RELEASE_VERSION-$basearch/
baseurl=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/epel-RELEASE-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/pubkey.gpg
enabled=1
enabled_metadata=1
```

You need to replace `RELEASE_VERSION` in the file content above with your RHEL system's major version number, like `5`, `6`, or `7`.
You need to replace `RELEASE` in the file content above with your RHEL system's major version number, like `5`, `6`, or `7`.

# Fedora

Expand Down

0 comments on commit 55994ab

Please sign in to comment.