mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
It seems removing the empty Multifile now gives trouble
This commit is contained in:
parent
4b7d6ef51d
commit
b2031e04ac
@ -360,13 +360,13 @@ class Installer:
|
|||||||
mf.repack()
|
mf.repack()
|
||||||
|
|
||||||
# If we have no subfiles left, we can just remove the multifile.
|
# If we have no subfiles left, we can just remove the multifile.
|
||||||
if mf.getNumSubfiles() == 0:
|
#if mf.getNumSubfiles() == 0:
|
||||||
Installer.notify.info("Removing empty archive %s" % (package.uncompressedArchive.filename))
|
# Installer.notify.info("Removing empty archive %s" % (package.uncompressedArchive.filename))
|
||||||
mf.close()
|
# mf.close()
|
||||||
archive.unlink()
|
# archive.unlink()
|
||||||
else:
|
#else:
|
||||||
mf.close()
|
mf.close()
|
||||||
os.chmod(archive.toOsSpecific(), 0444)
|
os.chmod(archive.toOsSpecific(), 0444)
|
||||||
|
|
||||||
# Write out our own contents.xml file.
|
# Write out our own contents.xml file.
|
||||||
doc = TiXmlDocument()
|
doc = TiXmlDocument()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user