Share Pastebin
Guest
Public paste!

red_team316

By: a guest | Mar 23rd, 2009 | Syntax: Python | Size: 0.47 KB | Hits: 39 | Expires: Never
Copy text to clipboard
  1.                 # update md5
  2.                 print _("Updating md5 sums...")
  3.                 os.popen('rm \"' + os.path.join(self.customDir, "remaster/") + 'md5sum.txt\"')
  4.                 # exclude isolinux directory or else when checking disc integrity it will say there are errors
  5.                 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)')