mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Remove dmg if it already exists
This commit is contained in:
parent
ef82e8d8c8
commit
b87b855eff
@ -269,6 +269,8 @@ def makeInstaller():
|
|||||||
shutil.rmtree(tmproot.toOsSpecific())
|
shutil.rmtree(tmproot.toOsSpecific())
|
||||||
|
|
||||||
# Compress the .dmg (and make it read-only)
|
# Compress the .dmg (and make it read-only)
|
||||||
|
if os.path.exists("p3d-setup.dmg"):
|
||||||
|
os.remove("p3d-setup.dmg")
|
||||||
CMD = 'hdiutil convert "%s" -format UDBZ -o "p3d-setup.dmg"' % tmpdmg
|
CMD = 'hdiutil convert "%s" -format UDBZ -o "p3d-setup.dmg"' % tmpdmg
|
||||||
print ""
|
print ""
|
||||||
print CMD
|
print CMD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user