Fix autoupdate header param for belong packages

master3.3
Mike Hiretsky 12 years ago
parent 981029cb39
commit 6feec52f1c

@ -4349,7 +4349,8 @@ re.M|re.S)
if not objHead:
applyDir = ""
if applyDir:
if "autoupdate" in optDir or "autoupdate" in objHead.params:
if ("autoupdate" in optDir or "autoupdate" in objHead.params ) and \
not self.objVar.Get('cl_belong_pkg_pass'):
self.autoUpdateDirs.append(applyDir)
return (applyDir, objHead, createdDirs)
@ -4802,7 +4803,8 @@ re.M|re.S)
self.dictProcessedTemplates[pathOldFile] = []
self.dictProcessedTemplates[pathOldFile].append(nameFileTemplate)
preReturn(pathProg)
if "autoupdate" in optFile or "autoupdate" in objHeadNew.params:
if ( "autoupdate" in optFile or "autoupdate" in objHeadNew.params ) \
and not self.objVar.Get('cl_belong_pkg_pass'):
self.autoUpdateFiles += applyFiles
return (applyFiles, objHeadNew)

Loading…
Cancel
Save