summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrysle <fritzihab@posteo.de>2023-05-22 18:50:25 +0200
committerGitHub <noreply@github.com>2023-05-22 09:50:25 -0700
commit2e3272b5ba4a80e45b0f709581596688d9339954 (patch)
tree4c3685f659e05ab81399041a0b29c44db493f5c2
parent5dc30bc4385e03ce031696aa2d4e4d61ee5bab1e (diff)
Fixed installation steps for Debian & Ubuntu (#1473) (#1475)
* Fixed installation steps for Debian & Ubuntu * Fixed incorrect path
-rw-r--r--docs/installation/methods.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/installation/methods.yml b/docs/installation/methods.yml
index cabf577a..1cc09762 100644
--- a/docs/installation/methods.yml
+++ b/docs/installation/methods.yml
@@ -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