summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-07-25 13:48:17 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-07-25 13:48:17 +0200
commit4577fda2b5f2b21f5400d10f4db71a8095f0df58 (patch)
tree9615272848902361aed27a7de1d5d5b6436bc920
parent584c10c51b4006c869bacf8d3d85e0019543478e (diff)
* apt-pkg/acquire-item.cc:
- check "/bin/bzip2" instead of "/usr/bin/bzip2"
-rw-r--r--apt-pkg/acquire-item.cc2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 1fa929aad..421288007 100644
--- a/apt-pkg/acquire-item.cc
+++ b/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";
diff --git a/debian/changelog b/debian/changelog
index 4263750b7..c658fe400 100644
--- a/debian/changelog
+++ b/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