aboutsummaryrefslogtreecommitdiff
path: root/src/bin/paku.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/bin/paku.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bin/paku.in b/src/bin/paku.in
index f914426..1bac0ba 100755
--- a/src/bin/paku.in
+++ b/src/bin/paku.in
@@ -664,11 +664,12 @@ sub emit_html() {
by adding its URL to
<code>/etc/apt/sources.list</code>:
</p>
- <pre><code>\$ sudo apt-add-repository 'deb $json->{'base-url'}/debian ./'</code></pre>
+ <pre><code>\$ echo 'deb $json->{'base-url'}/debian ./' |
+ sudo tee -a /etc/apt/sources.list
+ \$ sudo apt update</code></pre>
<p>
- <code>apt-add-repository</code> will already perform
- an <code>apt update</code>, so the packages from the
- new repository will already be available.
+ After that the packages from the new repository will
+ be available.
</p>
</article>
<article id="nix-instructions">