Skip to content

Commit 4ba5b18

Browse files
committed
Fix the apt-key deprecation error
Signed-off-by: Gregory Mermet <g.mermet@ez-wheel.com>
1 parent 2f2257a commit 4ba5b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ echo "deb http://packages.ez-wheel.com:8081/ubuntu/ $(lsb_release -cs) main" | s
4040
Then, download and add the GPG key. Type the following command:
4141

4242
```shell
43-
wget -qO - http://packages.ez-wheel.com:8081/archive.key | sudo apt-key add -
43+
sudo bash -c "wget -qO - http://packages.ez-wheel.com:8081/archive.key | gpg --dearmor > /etc/apt/trusted.gpg.d/ez-wheel-keyring.gpg"
4444
```
4545

4646
Now, you should be able to install ez-Wheel's packages using `Advanced Packaging Tool (apt)`:

0 commit comments

Comments
 (0)