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

_includes/apt-add.html: apt-add-repository command for bash needs to be double quoted.

This commit is contained in:
Henrik Hautakoski 2022-09-05 10:08:31 +02:00
parent c7bb740204
commit 5120a7f045

View file

@ -18,7 +18,7 @@ sudo apt-get update{% endif %}
{% else %}
<h4>For bash like shells.</h4>
{% highlight bash %}
sudo apt-add-repository -y 'deb [arch=amd64] https://{{ apt-add_domain }}/{{ include.repo }} `lsb_release -cs` {{ include.components }}'{% if include.update == true %}
sudo apt-add-repository -y "deb [arch=amd64] https://{{ apt-add_domain }}/{{ include.repo }} `lsb_release -cs` {{ include.components }}"{% if include.update == true %}
sudo apt-get update{% endif %}
{% endhighlight %}