Package: debmirror
Version: 1:2.14
Severity: minor
Tags: patch

If you use the --precleanup option, debmirror says:

  Will clean up before mirroring.
  Will NOT clean up.

This is pretty confusing; but it looks cosmetic.

diff --git a/debmirror b/debmirror
index ca9abd6..872825b 100755
--- a/debmirror
+++ b/debmirror
@@ -826,8 +826,7 @@ say("Download at most $max_batch files.") if ($max_batch > 
0);
 say("Download at most $rsync_batch files per rsync call.") if 
($download_method eq "rsync");
 if ($pre_cleanup) {
   say("Will clean up before mirroring.");
-}
-if ($post_cleanup) {
+} elsif ($post_cleanup) {
   say("Will clean up after mirroring.");
 } else {
   say("Will NOT clean up.");

Thanks,

-- 
Colin Watson                                       [[email protected]]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to