]> git.saurik.com Git - apt.git/commit - methods/https.h
Fix backward compatiblity of the new pkgAcquireMethod::DropPrivsOrDie()
authorMichael Vogt <mvo@ubuntu.com>
Mon, 13 Oct 2014 08:57:30 +0000 (10:57 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Mon, 13 Oct 2014 09:29:47 +0000 (11:29 +0200)
commit9983999d294887046abf386adc31190700d89b61
tree441df32a5b9767c69b9517c4ae180b953d8dc283
parent954d30df8d8b0fb4fa203d09674a4fe1e990e55c
Fix backward compatiblity of the new pkgAcquireMethod::DropPrivsOrDie()

Do not drop privileges in the methods when using a older version of
libapt that does not support the chown magic in partial/ yet. To
do this DropPrivileges() now will ignore a empty Apt::Sandbox::User.

Cleanup all hardcoded _apt along the way.
apt-pkg/acquire-item.cc
apt-pkg/acquire.cc
apt-pkg/contrib/fileutl.cc
apt-pkg/init.cc
methods/ftp.cc
methods/gpgv.cc
methods/gzip.cc
methods/http.cc
methods/http_main.cc
methods/https.cc
methods/https.h