* apt-pkg/acquire-item.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 25 Jul 2006 11:48:17 +0000 (13:48 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 25 Jul 2006 11:48:17 +0000 (13:48 +0200)
  - check "/bin/bzip2" instead of "/usr/bin/bzip2"

apt-pkg/acquire-item.cc
debian/changelog

index 1fa929a..4212880 100644 (file)
@@ -149,7 +149,7 @@ pkgAcqIndex::pkgAcqIndex(pkgAcquire *Owner,
    if(comprExt.empty()) 
    {
       // autoselect the compression method
-      if(FileExists("/usr/bin/bzip2")) 
+      if(FileExists("/bin/bzip2")) 
         CompressionExtension = ".bz2";
       else 
         CompressionExtension = ".gz";
index 4263750..c658fe4 100644 (file)
@@ -19,6 +19,8 @@ apt (0.6.45) unstable; urgency=low
       Luis Rodrigo Gallardo Cruz for the patch
   * apt-inst/contrib/extracttar.cc:
     - fix for string mangling, closes: #373864
+  * apt-pkg/acquire-item.cc:
+    - check for bzip2 in /bin (closes: #377391)
   * Merged from Christian Perrier bzr branch:
     * ko.po: Updated to 512t. Closes: #378901
     * hu.po: Updated to 512t. Closes: #376330