summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-10-08 23:16:19 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-10-08 23:16:19 +0000
commita6aa3d77fc0ae250940ff0b34415e2b120b6ea98 (patch)
tree8ea66982ce78ea8b8f9451525fb193a8c311c60e /src/lib
parent72535d3efff15dcc454a3db548bca9ea4e35a6f8 (diff)
downloadbcfg2-a6aa3d77fc0ae250940ff0b34415e2b120b6ea98.tar.gz
bcfg2-a6aa3d77fc0ae250940ff0b34415e2b120b6ea98.tar.bz2
bcfg2-a6aa3d77fc0ae250940ff0b34415e2b120b6ea98.zip
* Respect verify=false in APT packages
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2409 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/APT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index 4c049310a..f78cd9cbd 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -49,7 +49,7 @@ class APT(Bcfg2.Client.Tools.PkgTool):
return False
if self.installed.has_key(entry.attrib['name']):
if self.installed[entry.attrib['name']] == entry.attrib['version']:
- if not self.setup['quick']:
+ if not self.setup['quick'] and entry.get('verify', 'true') == 'true':
output = self.cmd.run("/usr/bin/debsums -s %s" % entry.get('name'))[1]
if [filename for filename in output if filename not in modlist]:
return False