Browse Source

* cmdline/apt-cdrom.cc:
- make Acquire::cdrom::AutoDetect default, this can be
turned off with "--no-auto-detect"

Michael Vogt 16 years ago
parent
commit
4df70e7528
2 changed files with 9 additions and 1 deletions
  1. 1 1
      cmdline/apt-cdrom.cc
  2. 8 0
      debian/changelog

+ 1 - 1
cmdline/apt-cdrom.cc

@@ -147,7 +147,7 @@ bool DoAdd(CommandLine &)
    pkgCdrom cdrom;
    bool res = true;
 
-   bool AutoDetect = _config->FindB("Acquire::cdrom::AutoDetect");
+   bool AutoDetect = _config->FindB("Acquire::cdrom::AutoDetect", true);
    unsigned int count = 0;
    
    if (AutoDetect && UdevCdroms.Dlopen())

+ 8 - 0
debian/changelog

@@ -1,3 +1,11 @@
+apt (0.7.25ubuntu4) lucid; urgency=low
+
+  * cmdline/apt-cdrom.cc:
+    - make Acquire::cdrom::AutoDetect default, this can be
+      turned off with "--no-auto-detect"
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Tue, 02 Feb 2010 16:58:59 -0800
+
 apt (0.7.25ubuntu3) lucid; urgency=low
 
   * cmdline/apt-get.cc: