mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-22 10:03:42 +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 %}
|
{% if list[component].size > 0 %}
|
||||||
|
|
||||||
{% highlight bash %}
|
{% include apt-add.html name=repo repo=repo components=component %}
|
||||||
$ sudo apt-add-repository -y 'deb [arch=amd64] {{site.apt.url}}/{{repo}} bionic {{component}}'
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
<table class="d-lg-table">
|
<table class="d-lg-table">
|
||||||
<tr>
|
<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:
|
Then you can add one or more of your repositories:
|
||||||
|
|
||||||
```bash
|
{% include apt-add.html name="eos" repo="eosio" components="stable" update=true %}
|
||||||
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/eosio bionic stable'
|
|
||||||
$ sudo apt-get update
|
|
||||||
```
|
|
||||||
|
|
||||||
The url is structures as follows:
|
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:
|
To add the `stable` `eosio` repository the following command will do:
|
||||||
|
|
||||||
```bash
|
{% include apt-add.html name="eos" repo="eosio" components="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:
|
To add both `edge` and `stable` components for the `main` repository:
|
||||||
|
|
||||||
```bash
|
{% include apt-add.html name="eos" repo="eosio" components="stable edge" %}
|
||||||
$ sudo apt-add-repository -y 'deb [arch=amd64] {{ site.apt.url }}/main bionic stable edge
|
|
||||||
```
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue