Fixed installation steps for Debian & Ubuntu (#1473) (#1475)

* Fixed installation steps for Debian & Ubuntu

* Fixed incorrect path
This commit is contained in:
chrysle 2023-05-22 18:50:25 +02:00 committed by GitHub
parent 5dc30bc438
commit 2e3272b5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,13 +37,13 @@ tools:
package: https://packages.debian.org/sid/web/httpie
commands:
install:
- curl -SsL https://packages.httpie.io/deb/KEY.gpg | apt-key add -
- curl -SsL -o /etc/apt/sources.list.d/httpie.list https://packages.httpie.io/deb/httpie.list
- apt update
- apt install httpie
- curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg
# - curl -SsL -o /etc/apt/sources.list.d/httpie.list https://packages.httpie.io/deb/httpie.list
- sudo echo "deb [arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/httpie.list
- sudo apt update
- sudo apt install httpie
upgrade:
- apt update
- apt upgrade httpie
- sudo apt update && sudo apt upgrade httpie
brew-mac:
title: Homebrew