From 99764f8e2af3793d87e0f5ccad833cc051f88d39 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 31 Oct 2008 21:42:52 +0000 Subject: [PATCH] Suggested change from Nemesis13 --- doc/makepanda/makepanda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/makepanda/makepanda.py b/doc/makepanda/makepanda.py index 2076b0457e..f83591967b 100755 --- a/doc/makepanda/makepanda.py +++ b/doc/makepanda/makepanda.py @@ -3568,6 +3568,7 @@ def MakeInstallerLinux(): compileall.compile_dir("linuxroot/usr/share/panda3d/Pmw") DeleteCVS("linuxroot") oscmd("chmod -R 555 linuxroot/usr/share/panda3d") + oscmd("chmod -R 444 linuxroot/usr/share/panda3d/models") if (os.path.exists("/usr/bin/dpkg-deb")): txt = INSTALLER_DEB_FILE[1:].replace("VERSION",str(VERSION)).replace("PYTHONV",PYTHONV).replace("ARCH",ARCH) @@ -3637,7 +3638,7 @@ def MakeInstallerOSX(): compileall.compile_dir("Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/Pmw") oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/direct") oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/pandac") - if os.path.isdir("samples"): oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/samples") + if os.path.isdir("samples"): oscmd("chmod -R 444 Panda3D-tpl-rw/Panda3D/"+VERSION+"/samples") if os.path.isdir("built/Pmw"): oscmd("chmod -R 555 Panda3D-tpl-rw/Panda3D/"+VERSION+"/lib/Pmw") except: # Make sure the dmg gets unmounted even when error occurs oscmd("hdiutil detach Panda3D-tpl-rw -quiet -force", True)