mirror of
https://github.com/eosswedenorg/apt
synced 2026-07-04 12:03:42 +02:00
_includes/apt-add.html: switch name variable to domain
This commit is contained in:
parent
496455f534
commit
6da4ad9b80
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{% assign domain = include.name | default: site.apt.domain %}
|
{% assign domain = include.domain | default: site.apt.domain %}
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
$ sudo apt-add-repository -y 'deb [arch=amd64] https://{{ domain }}/{{ include.repo }} bionic {{ include.components }}' {% if include.update == true %}
|
$ sudo apt-add-repository -y 'deb [arch=amd64] https://{{ domain }}/{{ include.repo }} bionic {{ include.components }}' {% if include.update == true %}
|
||||||
$ sudo apt-get update{% endif %}
|
$ sudo apt-get update{% endif %}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ layout: default
|
||||||
|
|
||||||
{% if list[component].size > 0 %}
|
{% if list[component].size > 0 %}
|
||||||
|
|
||||||
{% include apt-add.html name=repo repo=repo components=component %}
|
{% include apt-add.html domain=repo repo=repo components=component %}
|
||||||
|
|
||||||
<table class="d-lg-table">
|
<table class="d-lg-table">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue