]> git.sur5r.net Git - i3/i3.github.io/commitdiff
repositories: use secure installation method
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 1 Oct 2016 00:58:20 +0000 (02:58 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 1 Oct 2016 00:58:20 +0000 (02:58 +0200)
Thanks to David Kalnischkies’s advice in https://bugs.debian.org/838779

_docs/repositories
docs/repositories.html

index e2943a32017a457cf489377f24b17d14f0121644..88103b05b601499030ef9c7bb78301672b8a87b9 100644 (file)
@@ -69,12 +69,11 @@ Our Debian repository contains packages which are automatically built a few
 minutes after every commit. To use it, run the following commands:
 
 ---------------------------------------------------------------------------------
+$ /usr/lib/apt/apt-helper download-file http://dl.bintray.com/i3/i3-autobuild/pool/main/i/i3-autobuild-keyring/i3-autobuild-keyring_2016.10.01_all.deb keyring.deb SHA256:460e8c7f67a6ae7c3996cc8a5915548fe2fee9637b1653353ec62b954978d844
+# apt install ./keyring.deb
 # echo 'deb http://dl.bintray.com/i3/i3-autobuild sid main' > /etc/apt/sources.list.d/i3-autobuild.list
-# apt-get update
-# apt-get --allow-unauthenticated install i3-autobuild-keyring
-# rm -f /var/lib/apt/lists/dl.bintray.com_i3_i3-autobuild-ubuntu_*
-# apt-get update
-# apt-get install i3
+# apt update
+# apt install i3
 ---------------------------------------------------------------------------------
 
 == Preferring the autobuilder version of i3
index 032cde56f6dd17e70dd3132bbaaffa6dcb507a38..60458c8476d5e8141d6fc4cde65acb71f1f426eb 100644 (file)
@@ -122,12 +122,11 @@ is xenial at the moment.</p></div>
 minutes after every commit. To use it, run the following commands:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># echo 'deb http://dl.bintray.com/i3/i3-autobuild sid main' &gt; /etc/apt/sources.list.d/i3-autobuild.list\r
-# apt-get update\r
-# apt-get --allow-unauthenticated install i3-autobuild-keyring\r
-# rm -f /var/lib/apt/lists/dl.bintray.com_i3_i3-autobuild-ubuntu_*\r
-# apt-get update\r
-# apt-get install i3</tt></pre>\r
+<pre><tt>$ /usr/lib/apt/apt-helper download-file http://dl.bintray.com/i3/i3-autobuild/pool/main/i/i3-autobuild-keyring/i3-autobuild-keyring_2016.10.01_all.deb keyring.deb SHA256:460e8c7f67a6ae7c3996cc8a5915548fe2fee9637b1653353ec62b954978d844\r
+# apt install ./keyring.deb\r
+# echo 'deb http://dl.bintray.com/i3/i3-autobuild sid main' &gt; /etc/apt/sources.list.d/i3-autobuild.list\r
+# apt update\r
+# apt install i3</tt></pre>\r
 </div></div>\r
 </div>\r
 </div>\r