mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-16 04:34:56 +02:00
_includes/apt-add.html: set "dist" default value to "lsb_release -cs"
This commit is contained in:
parent
5a3bd77883
commit
ffbc785294
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{% assign domain = include.domain | default: site.apt.domain %}
|
||||
{% assign dist = include.distribution | default: "bionic" %}
|
||||
{% assign 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-get update{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue