From 7da4a5d8c1ce84111b0361214a1f5a61b17942d2 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 21 Oct 2019 16:45:51 +0200 Subject: [PATCH] Adding _includes/apt-add.html --- _includes/apt-add.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 _includes/apt-add.html diff --git a/_includes/apt-add.html b/_includes/apt-add.html new file mode 100644 index 0000000..f1b43bc --- /dev/null +++ b/_includes/apt-add.html @@ -0,0 +1,4 @@ +{% highlight bash %} +$ sudo apt-add-repository -y 'deb [arch=amd64] https://apt.{{ include.name }}sweden.org/{{ include.repo }} bionic {{ include.components }}' {% if include.update == true %} +$ sudo apt-get update{% endif %} +{% endhighlight %}