releasing/blocks/cclient/patches/linux/apt-debian-system.patch
author kelvzhu
Thu, 02 Sep 2010 15:02:14 +0800
changeset 632 934f9131337b
permissions -rw-r--r--
Delivery Blocks to SF

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());