coupla more fixes for recent breaks to packaging

This commit is contained in:
David Rose 2011-09-23 22:10:40 +00:00
parent 024e5e9d19
commit b3706f5018
2 changed files with 3 additions and 2 deletions

View File

@ -144,7 +144,7 @@ class FileSpec:
return False
if notify:
notify.info("hash check ok: %s" % (pathname))
notify.debug("hash check ok: %s" % (pathname))
# The hash is OK after all. Change the file's timestamp back
# to what we expect it to be, so we can quick-verify it
@ -191,7 +191,7 @@ class FileSpec:
return False
if notify:
notify.info("hash check ok: %s" % (pathname))
notify.debug("hash check ok: %s" % (pathname))
# The hash is OK. If the timestamp is wrong, change it back
# to what we expect it to be, so we can quick-verify it

View File

@ -1000,6 +1000,7 @@ class PackageInfo:
continue
targetPathname = Filename(self.getPackageDir(), file.filename)
targetPathname.setBinary()
targetPathname.unlink()
if not mf.extractSubfile(i, targetPathname):
self.notify.warning("Couldn't extract: %s" % (file.filename))