From eb64bcb0bf1bf304c6fde408c83120ce3b4df987 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 13 Jun 2007 14:52:21 +0000 Subject: pkgmgr_update update from mbrady git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3292 ce84e21b-d406-0410-9b95-82705330c041 --- tools/pkgmgr_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/pkgmgr_update.py b/tools/pkgmgr_update.py index 578beb546..a0e1fc227 100644 --- a/tools/pkgmgr_update.py +++ b/tools/pkgmgr_update.py @@ -159,7 +159,7 @@ def updatepkg(pkg): inst.attrib['epoch'] = str(latest['epoch']) inst.attrib['version'] = latest['version'] inst.attrib['release'] = latest['release'] - if pkg.get('type') == 'yum': + if inst.get('simplefile', False): inst.attrib['simplefile'] = latest['filename'] def main(): @@ -206,7 +206,7 @@ if __name__ == "__main__": options, arguments = p.parse_args() if not options.configfile: - print "An existing Pkgrmgr configuration file must be specified with the -c option." + print "An existing Pkgmgr configuration file must be specified with the -c option." sys.exit() # Set up list of directories to search -- cgit v1.2.3-1-g7c22