red_team316
By: a guest | Mar 23rd, 2009 | Syntax:
Python | Size: 0.47 KB | Hits: 39 | Expires: Never
# update md5
print _("Updating md5 sums...")
os.popen('rm \"' + os.path.join(self.customDir, "remaster/") + 'md5sum.txt\"')
# exclude isolinux directory or else when checking disc integrity it will say there are errors
os.popen('(cd \"' + os.path.join(self.customDir, "remaster/") + '\"; ' + 'find . -type f -not -name md5sum.txt -not -path \'*/isolinux/*\' -print0 | xargs -0 md5sum > md5sum.txt)')