This version of the command should work for *every single debian variant* but it requires testing

This commit is contained in:
idk
2022-06-10 19:36:57 -04:00
parent 849b539110
commit e3ce4a7a1a

View File

@@ -107,7 +107,7 @@ user to root with <code>su</code> or by prefixing each command with <code>sudo</
<pre>
<code>
# Use this command on Debian Bullseye or newer only.
echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p2.de/ $(lsb_release -sc) main" \
echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p2.de/ $(dpkg --status tzdata | grep Provides | cut -f2 -d'-') main" \
| sudo tee /etc/apt/sources.list.d/i2p.list
</code>
</pre>
@@ -115,7 +115,7 @@ user to root with <code>su</code> or by prefixing each command with <code>sudo</
<pre>
<code>
# Use this command on Debian Buster or older only.
echo "deb https://deb.i2p2.de/ $(lsb_release -sc) main" \
echo "deb https://deb.i2p2.de/ $(dpkg --status tzdata | grep Provides | cut -f2 -d'-') main" \
| sudo tee /etc/apt/sources.list.d/i2p.list
</code>
</pre>