From dab08ca9a1535dd88cdff6edf3b2ef61687bfc0e Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Sun, 9 Oct 2022 12:25:01 +0900 Subject: [PATCH] README: Don't use apt-key in installation instructions The installation instructions for Debian-based distros use apt-key to add the repository's GPG key, however apt-key is deprecated. This commit changes the instructions to use /etc/apt/trusted.gpg.d instead of apt-key. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 500ca24..adc3d48 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ minimal publisher using the *ipc* module. . toolbox.sh include "ipc" - + endp=$(ipc_endpoint_open) ipc_endpoint_publish "$endp" "mytopic" "Hello world" @@ -31,13 +31,13 @@ And this is the corresponding subscriber. . toolbox.sh include "ipc" - + endp=$(ipc_endpoint_open) ipc_endpoint_subscribe "$endp" "mytopic" - + if msg=$(ipc_endpoint_recv "$endp"); then data=$(ipc_msg_get_data "$msg") - + echo "Received message: $data" fi @@ -76,7 +76,7 @@ If you are using a Debian-based distribution, you can install toolbox through ap First, import the GPG key used to sign packages in the repository and make sure you have `apt-transport-https` installed. - # wget -O - -- https://deb.m10k.eu/deb.m10k.eu.gpg.key | apt-key add - + # curl --get https://deb.m10k.eu/deb.m10k.eu.gpg > /etc/apt/trusted.gpg.d/deb.m10k.eu.gpg # apt-get install apt-transport-https Then add the following line to your `/etc/apt/sources.lst`. -- 2.47.3