forked from extern/httpie-cli
dnf/yum update is the same as dnf upgrade -- it updates all packages (#1184)
No reason to run it before installing or upgrading httpie. This is not apt.
This commit is contained in:
parent
7885f5cd66
commit
1b4048aefc
@ -190,13 +190,11 @@ $ apt upgrade httpie
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install httpie
|
# Install httpie
|
||||||
$ dnf update
|
|
||||||
$ dnf install httpie
|
$ dnf install httpie
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Upgrade httpie
|
# Upgrade httpie
|
||||||
$ dnf update
|
|
||||||
$ dnf upgrade httpie
|
$ dnf upgrade httpie
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -206,14 +204,12 @@ Also works for other RHEL-derived distributions like ClearOS, Oracle Linux, etc.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install httpie
|
# Install httpie
|
||||||
$ yum update
|
|
||||||
$ yum install epel-release
|
$ yum install epel-release
|
||||||
$ yum install httpie
|
$ yum install httpie
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Upgrade httpie
|
# Upgrade httpie
|
||||||
$ yum update
|
|
||||||
$ yum upgrade httpie
|
$ yum upgrade httpie
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -112,10 +112,8 @@ tools:
|
|||||||
package: https://src.fedoraproject.org/rpms/httpie
|
package: https://src.fedoraproject.org/rpms/httpie
|
||||||
commands:
|
commands:
|
||||||
install:
|
install:
|
||||||
- dnf update
|
|
||||||
- dnf install httpie
|
- dnf install httpie
|
||||||
upgrade:
|
upgrade:
|
||||||
- dnf update
|
|
||||||
- dnf upgrade httpie
|
- dnf upgrade httpie
|
||||||
|
|
||||||
emerge:
|
emerge:
|
||||||
@ -247,9 +245,7 @@ tools:
|
|||||||
package: https://src.fedoraproject.org/rpms/httpie
|
package: https://src.fedoraproject.org/rpms/httpie
|
||||||
commands:
|
commands:
|
||||||
install:
|
install:
|
||||||
- yum update
|
|
||||||
- yum install epel-release
|
- yum install epel-release
|
||||||
- yum install httpie
|
- yum install httpie
|
||||||
upgrade:
|
upgrade:
|
||||||
- yum update
|
|
||||||
- yum upgrade httpie
|
- yum upgrade httpie
|
||||||
|
Loading…
Reference in New Issue
Block a user