diff -r 9435b9008a58 -r 934f9131337b releasing/blocks/cclient/patches/linux/apt-debian-system.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/releasing/blocks/cclient/patches/linux/apt-debian-system.patch Thu Sep 02 15:02:14 2010 +0800 @@ -0,0 +1,20 @@ +diff -crB apt-0.7.20.2/apt-pkg/init.cc apt-0.7.20.2-rhel/apt-pkg/init.cc +*** apt-0.7.20.2/apt-pkg/init.cc 2009-02-07 17:09:35.000000000 +0200 +--- apt-0.7.20.2-rhel/apt-pkg/init.cc 2009-07-07 16:42:07.000000000 +0300 +*************** +*** 116,122 **** + bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys) + { + Sys = 0; +! string Label = Cnf.Find("Apt::System",""); + if (Label.empty() == false) + { + Sys = pkgSystem::GetSystem(Label.c_str()); +--- 116,122 ---- + bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys) + { + Sys = 0; +! string Label = Cnf.Find("Apt::System","Debian dpkg interface"); + if (Label.empty() == false) + { + Sys = pkgSystem::GetSystem(Label.c_str());