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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
632
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     1
diff -crB apt-0.7.20.2/apt-pkg/init.cc apt-0.7.20.2-rhel/apt-pkg/init.cc
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     2
*** apt-0.7.20.2/apt-pkg/init.cc	2009-02-07 17:09:35.000000000 +0200
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     3
--- apt-0.7.20.2-rhel/apt-pkg/init.cc	2009-07-07 16:42:07.000000000 +0300
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     4
***************
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     5
*** 116,122 ****
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     6
  bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys)
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     7
  {
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     8
     Sys = 0;
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
     9
!    string Label = Cnf.Find("Apt::System","");
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    10
     if (Label.empty() == false)
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    11
     {
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    12
        Sys = pkgSystem::GetSystem(Label.c_str());
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    13
--- 116,122 ----
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    14
  bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys)
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    15
  {
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    16
     Sys = 0;
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    17
!    string Label = Cnf.Find("Apt::System","Debian dpkg interface");
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    18
     if (Label.empty() == false)
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    19
     {
934f9131337b Delivery Blocks to SF
kelvzhu
parents:
diff changeset
    20
        Sys = pkgSystem::GetSystem(Label.c_str());