mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 08:22:22 +02:00
Replace redirection with tee command with sudo for file creation (#1557)
This commit is contained in:
parent
9e8e3691c8
commit
b934eec7fc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user