2
0
Эх сурвалжийг харах

Remove Panda3D-rw.dmg if it already exists

rdb 16 жил өмнө
parent
commit
34afeb6e3e

+ 1 - 0
makepanda/makepanda.py

@@ -4847,6 +4847,7 @@ def MakeInstallerOSX():
     import compileall
     if (os.path.isfile("Panda3D-%s.dmg" % VERSION)): oscmd("rm -f Panda3D-%s.dmg" % VERSION)
     if (os.path.exists("dstroot")): oscmd("rm -rf dstroot")
+    if (os.path.exists("Panda3D-rw.dmg")): oscmd('rm -f Panda3D-rw.dmg')
     
     #TODO: add postflight script
     #oscmd("sed -e 's@\\$1@%s@' < direct/src/directscripts/profilepaths-osx.command >> Panda3D-tpl-rw/panda3dpaths.command" % VERSION)