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

_includes/apt-add.html: switch name variable to domain

This commit is contained in:
Henrik Hautakoski 2019-10-22 14:03:59 +02:00
parent 496455f534
commit 6da4ad9b80
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{% assign domain = include.name | default: site.apt.domain %}
{% assign domain = include.domain | default: site.apt.domain %}
{% highlight bash %}
$ sudo apt-add-repository -y 'deb [arch=amd64] https://{{ domain }}/{{ include.repo }} bionic {{ include.components }}' {% if include.update == true %}
$ sudo apt-get update{% endif %}

View file

@ -15,7 +15,7 @@ layout: default
{% 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">
<tr>