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:
Miro Hrončok 2021-10-15 15:29:06 +02:00 committed by GitHub
parent 7885f5cd66
commit 1b4048aefc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -190,13 +190,11 @@ $ apt upgrade httpie
```bash
# Install httpie
$ dnf update
$ dnf install httpie
```
```bash
# Upgrade httpie
$ dnf update
$ dnf upgrade httpie
```
@ -206,14 +204,12 @@ Also works for other RHEL-derived distributions like ClearOS, Oracle Linux, etc.
```bash
# Install httpie
$ yum update
$ yum install epel-release
$ yum install httpie
```
```bash
# Upgrade httpie
$ yum update
$ yum upgrade httpie
```

View File

@ -112,10 +112,8 @@ tools:
package: https://src.fedoraproject.org/rpms/httpie
commands:
install:
- dnf update
- dnf install httpie
upgrade:
- dnf update
- dnf upgrade httpie
emerge:
@ -247,9 +245,7 @@ tools:
package: https://src.fedoraproject.org/rpms/httpie
commands:
install:
- yum update
- yum install epel-release
- yum install httpie
upgrade:
- yum update
- yum upgrade httpie