From eb63a6a93cded9d58702ee9ca8b183d9236fd1fa Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 10 Oct 2019 17:45:27 +0200 Subject: [PATCH] index.md: use site.apt.url variable. --- index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.md b/index.md index 115a77d..811a68b 100644 --- a/index.md +++ b/index.md @@ -1,25 +1,25 @@ -The repository is hosted on https://apt.eossweden.org/ +The repository is hosted on [{{ site.apt.url }}]({{ site.apt.url }}) ### Setup First you must add our `gpg` key to `apt`: ```bash -$ curl https://apt.eossweden.org/key | sudo apt-key add - +$ curl {{ site.apt.url }}/key | sudo apt-key add - ``` Then you can add one or more of your repositories: ```bash -$ sudo apt-add-repository -y 'deb [arch=amd64] https://apt.eossweden.org/eosio bionic stable' +$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/eosio bionic stable' $ sudo apt-get update ``` The url is structures as follows: ``` -https://apt.eossweden.org/ bionic [ ] [ ] +{{ site.apt.url }}/ bionic [ ] [ ] ``` one `repository` and one or more `components` needs to be specified. These are explained below. @@ -49,11 +49,11 @@ Here is a list of different repositories we provide. Each repository has 3 diffe To add the `stable` `eosio` repository the following command will do: ```bash -$ sudo apt-add-repository -y 'deb [arch=amd64] https://apt.eossweden.org/main bionic stable' +$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/main bionic stable' ``` To add both `edge` and `stable` components for the `main` repository: ```bash -$ sudo apt-add-repository -y 'deb [arch=amd64] https://apt.eossweden.org/main bionic stable edge +$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/main bionic stable edge ```