mirror of
https://github.com/eosswedenorg/apt
synced 2026-06-16 04:34:56 +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 %}
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
<p>First you need to make sure some packages are installed and that our <code>gpg</code> key is added to <code>apt</code>:</p>
|
||||
|
||||
{% highlight bash %}
|
||||
$ sudo apt-get install software-properties-common
|
||||
$ curl https://{{ setup-instructions_domain }}/key 2> /dev/null | sudo apt-key add -
|
||||
sudo apt-get install software-properties-common
|
||||
curl https://{{ setup-instructions_domain }}/key 2> /dev/null | sudo apt-key add -
|
||||
{% endhighlight %}
|
||||
|
||||
<p>Then you can add one or more of your repositories:</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue