mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-16 04:34:56 +02:00
_includes/apt-add.html: prefix variables to avoid unwanted overwrites.
This commit is contained in:
parent
ab031b21b9
commit
ea903b700b
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{% assign domain = include.domain | default: site.apt.domain %}
|
||||
{% assign dist = include.distribution | default: "`lsb_release -cs`" %}
|
||||
{% assign apt-add_domain = include.domain | default: site.apt.domain %}
|
||||
{% assign apt-add_dist = include.distribution | default: "`lsb_release -cs`" %}
|
||||
{% highlight bash %}
|
||||
$ sudo apt-add-repository -y 'deb [arch=amd64] https://{{ domain }}/{{ include.repo }} {{ dist }} {{ include.components }}' {% if include.update == true %}
|
||||
$ sudo apt-add-repository -y 'deb [arch=amd64] https://{{ apt-add_domain }}/{{ include.repo }} {{ apt-add_dist }} {{ include.components }}' {% if include.update == true %}
|
||||
$ sudo apt-get update{% endif %}
|
||||
{% endhighlight %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue