← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~ruinedyourlife/lp-archive:fix-command-newline into lp-archive:main

 

Quentin Debhi has proposed merging ~ruinedyourlife/lp-archive:fix-command-newline into lp-archive:main.

Commit message:
Fix an incorrect newline in a command preventing proper copy-paste

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~ruinedyourlife/lp-archive/+git/lp-archive/+merge/468130
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~ruinedyourlife/lp-archive:fix-command-newline into lp-archive:main.
diff --git a/lp_archive/templates/index.html b/lp_archive/templates/index.html
index 81924c3..d48a1b6 100644
--- a/lp_archive/templates/index.html
+++ b/lp_archive/templates/index.html
@@ -88,8 +88,7 @@ deb [snapshot=20230302T030400Z] http://security.ubuntu.com/ubuntu jammy-security
             
             <h4>Using a specific snapshot for all repositories that support snapshots</h4>
             <p>Alternatively, across all supported Ubuntu releases, a snapshot can be set for all repositories that have snapshots enabled on a system using an <code>apt.conf</code>a variable. First, ensure the <a href="#enable-snapshot-service">relevant repositories are enabled</a>, and then set <code>APT::Snapshot</code> to the relevant snapshot ID, for example:</p>
-            <pre><code>echo 'APT::Snapshot "20240301T030400Z";' | sudo tee 
-/etc/apt/apt.conf.d/50snapshot</code></pre>
+            <pre><code>echo 'APT::Snapshot "20240301T030400Z";' | sudo tee /etc/apt/apt.conf.d/50snapshot</code></pre>
             <p>As above, this snapshot will then be used for all <code>apt</code> commands, including <code>unattended-upgrades</code>. The system can then be updated to use a different snapshot by simply running the above command again with a different snapshot ID.</p>
 
             <h3 class="u-sv3">Disable Snapshot Service for a repository</h3>