diff --git a/_includes/apt-add.html b/_includes/apt-add.html index 71e9129..b1b4634 100644 --- a/_includes/apt-add.html +++ b/_includes/apt-add.html @@ -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 %} diff --git a/_layouts/repo.html b/_layouts/repo.html index fdc6dee..0e960ea 100644 --- a/_layouts/repo.html +++ b/_layouts/repo.html @@ -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 %}