1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-18 04:50:03 +02:00

Remove '$' prefix from all shell code blocks.

This commit is contained in:
Henrik Hautakoski 2020-12-28 13:19:33 +01:00
parent 24c3b0652d
commit 32076af7c0
2 changed files with 8 additions and 8 deletions

View file

@ -3,19 +3,19 @@
{% if include.distribution %} {% if include.distribution %}
{% highlight bash %} {% 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-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-get update{% endif %}
{% endhighlight %} {% endhighlight %}
{% else %} {% else %}
{% highlight bash %} {% highlight bash %}
# For Bash like shells. # 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-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-get update{% endif %}
{% endhighlight %} {% endhighlight %}
{% highlight bash %} {% highlight bash %}
# If you are using fish # 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-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-get update{% endif %}
{% endhighlight %} {% endhighlight %}
{% endif %} {% endif %}

View file

@ -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> <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 %} {% highlight bash %}
$ sudo apt-get install software-properties-common sudo apt-get install software-properties-common
$ curl https://{{ setup-instructions_domain }}/key 2> /dev/null | sudo apt-key add - curl https://{{ setup-instructions_domain }}/key 2> /dev/null | sudo apt-key add -
{% endhighlight %} {% endhighlight %}
<p>Then you can add one or more of your repositories:</p> <p>Then you can add one or more of your repositories:</p>