From 32076af7c052c5f0c88c6fb1449c64a0da08fdce Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 28 Dec 2020 13:19:33 +0100 Subject: [PATCH] Remove '$' prefix from all shell code blocks. --- _includes/apt-add.html | 12 ++++++------ _includes/setup-instructions.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_includes/apt-add.html b/_includes/apt-add.html index 2afd98f..5727c8f 100644 --- a/_includes/apt-add.html +++ b/_includes/apt-add.html @@ -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 %} diff --git a/_includes/setup-instructions.html b/_includes/setup-instructions.html index f29db2f..71ac782 100644 --- a/_includes/setup-instructions.html +++ b/_includes/setup-instructions.html @@ -13,8 +13,8 @@

First you need to make sure some packages are installed and that our gpg key is added to apt:

{% 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 %}

Then you can add one or more of your repositories: