diff options
author | EuAndreh <eu@euandre.org> | 2023-03-23 16:29:21 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-23 16:29:21 -0300 |
commit | fa6537934db8491f20eb3fdd39b38ea78c4c482b (patch) | |
tree | 927db4cd34db8b116622c379b8b5833adc491691 /src | |
parent | Makefile: Add architecture to check target name (diff) | |
download | package-repository-fa6537934db8491f20eb3fdd39b38ea78c4c482b.tar.gz package-repository-fa6537934db8491f20eb3fdd39b38ea78c4c482b.tar.xz |
Use manual echo to /etc/apt/sources.list over apt-add-repository
Diffstat (limited to 'src')
-rwxr-xr-x | src/bin/paku.in | 9 |
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"> |