1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-16 04:34:56 +02:00

Use the new "apt-add" template

This commit is contained in:
Henrik Hautakoski 2019-10-21 16:46:43 +02:00
parent 7da4a5d8c1
commit 51793063ff
2 changed files with 4 additions and 13 deletions

View file

@ -15,9 +15,7 @@ layout: default
{% if list[component].size > 0 %}
{% highlight bash %}
$ sudo apt-add-repository -y 'deb [arch=amd64] {{site.apt.url}}/{{repo}} bionic {{component}}'
{% endhighlight %}
{% include apt-add.html name=repo repo=repo components=component %}
<table class="d-lg-table">
<tr>

View file

@ -11,10 +11,7 @@ $ curl {{ site.apt.url }}/key 2> /dev/null | sudo apt-key add -
Then you can add one or more of your repositories:
```bash
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/eosio bionic stable'
$ sudo apt-get update
```
{% include apt-add.html name="eos" repo="eosio" components="stable" update=true %}
The url is structures as follows:
@ -49,12 +46,8 @@ Each repository has 3 different components described below.
To add the `stable` `eosio` repository the following command will do:
```bash
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/main bionic stable'
```
{% include apt-add.html name="eos" repo="eosio" components="stable" %}
To add both `edge` and `stable` components for the `main` repository:
```bash
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/main bionic stable edge
```
{% include apt-add.html name="eos" repo="eosio" components="stable edge" %}