summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-02-14 20:01:39 +0000
committerNarayan Desai <desai@mcs.anl.gov>2010-02-14 20:01:39 +0000
commit4cea0387ac87748a399f71060664a7a671b464e9 (patch)
tree71aa4a51b7aa9bd821f68352b99941c44c62d499 /src/lib/Server/Plugins
parent4b84fa15c231c5ad72d261fdb27c470a386de4b3 (diff)
downloadbcfg2-4cea0387ac87748a399f71060664a7a671b464e9.tar.gz
bcfg2-4cea0387ac87748a399f71060664a7a671b464e9.tar.bz2
bcfg2-4cea0387ac87748a399f71060664a7a671b464e9.zip
Packages: add pre-depends requirements for apt package sources (Resolves Ticket #832) [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5723 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r--src/lib/Server/Plugins/Packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 97b665e13..93b32cce9 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -409,7 +409,7 @@ class APTSource(Source):
if words[0] == 'Package':
pkgname = words[1].strip().rstrip()
self.pkgnames.add(pkgname)
- elif words[0] == 'Depends':
+ elif words[0] in ['Depends', 'Pre-Depends']:
bdeps[barch][pkgname] = []
vindex = 0
for dep in words[1].split(','):