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