Show More
@@ -68,6 +68,7 b' def upgrade_dir(srcdir, tgtdir):' | |||||
68 | #print sum |
|
68 | #print sum | |
69 | if sum and md5.new(cont).hexdigest() == sum: |
|
69 | if sum and md5.new(cont).hexdigest() == sum: | |
70 | pr("Unedited, installing new %s" % tgt) |
|
70 | pr("Unedited, installing new %s" % tgt) | |
|
71 | tgt.write_text(src.text()) | |||
71 | rpt[str(tgt)] = md5.new(tgt.text()).hexdigest() |
|
72 | rpt[str(tgt)] = md5.new(tgt.text()).hexdigest() | |
72 | else: |
|
73 | else: | |
73 | pr(' == Modified, skipping %s, diffs below == ' % tgt) |
|
74 | pr(' == Modified, skipping %s, diffs below == ' % tgt) |
General Comments 0
You need to be logged in to leave comments.
Login now