diff options
author | vostok92 <540339+vostok92@users.noreply.github.com> | 2024-03-04 23:34:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 15:34:57 +0100 |
commit | b934eec7fc60665ffcf2a147cb52188c3e98814a (patch) | |
tree | 48a7c0310355d4a5befefd63b6b4ab8a3b9d4549 | |
parent | 9e8e3691c8d40ca8dcdc90fbd9be12016eacdd56 (diff) |
Replace redirection with tee command with sudo for file creation (#1557)
-rw-r--r-- | docs/installation/methods.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/installation/methods.yml b/docs/installation/methods.yml index 1cc09762..290b0e24 100644 --- a/docs/installation/methods.yml +++ b/docs/installation/methods.yml @@ -39,7 +39,7 @@ tools: install: - 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 + - echo "deb [arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" | sudo tee /etc/apt/sources.list.d/httpie.list > /dev/null - sudo apt update - sudo apt install httpie upgrade: |