Output actions
This commit is contained in:
parent
ddb521d9cc
commit
8f7c3ee566
@ -178,13 +178,15 @@ def processAllFiles(destfiles, dirConfig):
|
||||
|
||||
# diff assembled file and config file
|
||||
if Tools.diff(df, tempfilename, commentstring, debug):
|
||||
debug.debug("%s changed." % df)
|
||||
print df,"changed",
|
||||
if not Tools.userConfigGenerated(df, cfg):
|
||||
print "(trying to back up file)",
|
||||
debug.debug("%s not generated by userconfig, backing up." % df)
|
||||
# file not generated from userconfig -> back up
|
||||
Tools.backupFile(df, debug)
|
||||
# if not userConfigGenerated
|
||||
# copy tmp file to real location
|
||||
print "copying new version."
|
||||
Tools.copyFile(tempfilename, df, debug)
|
||||
# if diff
|
||||
# remove tmp
|
||||
|
Loading…
Reference in New Issue
Block a user