mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-17 04:40:03 +02:00
Remove '$' prefix from all shell code blocks.
This commit is contained in:
parent
24c3b0652d
commit
32076af7c0
2 changed files with 8 additions and 8 deletions
|
|
@ -3,19 +3,19 @@
|
|||
|
||||
{% if include.distribution %}
|
||||
{% highlight bash %}
|
||||
$ sudo apt-add-repository -y 'deb [arch=amd64] https://{{ apt-add_domain }}/{{ include.repo }} {{ include.distribution }} {{ include.components }}'{% if include.update == true %}
|
||||
$ sudo apt-get update{% endif %}
|
||||
sudo apt-add-repository -y 'deb [arch=amd64] https://{{ apt-add_domain }}/{{ include.repo }} {{ include.distribution }} {{ include.components }}'{% if include.update == true %}
|
||||
sudo apt-get update{% endif %}
|
||||
{% endhighlight %}
|
||||
{% else %}
|
||||
{% highlight bash %}
|
||||
# For Bash like shells.
|
||||
$ 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 %}
|
||||
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 %}
|
||||
|
||||
{% highlight bash %}
|
||||
# If you are using fish
|
||||
$ 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 %}
|
||||
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 %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue