From: Michael Vogt Date: Tue, 25 Jul 2006 11:48:17 +0000 (+0200) Subject: * apt-pkg/acquire-item.cc: X-Git-Tag: 0.7.21~311^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/4577fda2b5f2b21f5400d10f4db71a8095f0df58?hp=-c * apt-pkg/acquire-item.cc: - check "/bin/bzip2" instead of "/usr/bin/bzip2" --- 4577fda2b5f2b21f5400d10f4db71a8095f0df58 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