浏览代码

* apt-pkg/acquire-item.cc:
- check "/bin/bzip2" instead of "/usr/bin/bzip2"

Michael Vogt 20 年之前
父节点
当前提交
4577fda2b5
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      apt-pkg/acquire-item.cc
  2. 2 0
      debian/changelog

+ 1 - 1
apt-pkg/acquire-item.cc

@@ -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";

+ 2 - 0
debian/changelog

@@ -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