mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Remove pkg if it already exists
This commit is contained in:
parent
b87b855eff
commit
536ef4f5f5
@ -237,6 +237,8 @@ def makeInstaller():
|
||||
tmproot = Filename("/var/tmp/Panda3D Runtime/")
|
||||
if tmproot.exists():
|
||||
shutil.rmtree(tmproot.toOsSpecific())
|
||||
if os.path.exists("p3d-setup.pkg"):
|
||||
os.remove("p3d-setup.pkg")
|
||||
tmproot.makeDir()
|
||||
dst_npapi = Filename(tmproot, Filename("Library/Internet Plug-Ins", npapi))
|
||||
dst_panda3d = Filename(tmproot, Filename("Applications", panda3d))
|
||||
|
Loading…
x
Reference in New Issue
Block a user