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:
parent
7da4a5d8c1
commit
51793063ff
2 changed files with 4 additions and 13 deletions
|
|
@ -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>
|
||||
|
|
|
|||
13
index.md
13
index.md
|
|
@ -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" %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue