|
@@ -6979,8 +6979,8 @@ def MakeInstallerLinux():
|
|
|
else:
|
|
else:
|
|
|
InstallPanda(destdir="targetroot", prefix="/usr", outputdir=GetOutputDir(), libdir=lib_dir)
|
|
InstallPanda(destdir="targetroot", prefix="/usr", outputdir=GetOutputDir(), libdir=lib_dir)
|
|
|
oscmd("chmod -R 755 targetroot/usr/share/panda3d")
|
|
oscmd("chmod -R 755 targetroot/usr/share/panda3d")
|
|
|
- oscmd("mkdir -p targetroot/usr/share/man/man1")
|
|
|
|
|
- oscmd("cp doc/man/*.1 targetroot/usr/share/man/man1/")
|
|
|
|
|
|
|
+ oscmd("mkdir -m 0755 -p targetroot/usr/share/man/man1")
|
|
|
|
|
+ oscmd("install -m 0644 doc/man/*.1 targetroot/usr/share/man/man1/")
|
|
|
|
|
|
|
|
oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt")
|
|
oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt")
|
|
|
pkg_arch = ReadFile(GetOutputDir()+"/tmp/architecture.txt").strip()
|
|
pkg_arch = ReadFile(GetOutputDir()+"/tmp/architecture.txt").strip()
|
|
@@ -7145,8 +7145,8 @@ def MakeInstallerOSX():
|
|
|
# Trailing newline is important, works around a bug in OSX
|
|
# Trailing newline is important, works around a bug in OSX
|
|
|
WriteFile("dstroot/tools/etc/paths.d/Panda3D", "/Developer/Panda3D/bin\n")
|
|
WriteFile("dstroot/tools/etc/paths.d/Panda3D", "/Developer/Panda3D/bin\n")
|
|
|
|
|
|
|
|
- oscmd("mkdir -p dstroot/tools/usr/local/share/man/man1")
|
|
|
|
|
- oscmd("cp doc/man/*.1 dstroot/tools/usr/local/share/man/man1/")
|
|
|
|
|
|
|
+ oscmd("mkdir -m 0755 -p dstroot/tools/usr/local/share/man/man1")
|
|
|
|
|
+ oscmd("install -m 0644 doc/man/*.1 dstroot/tools/usr/local/share/man/man1/")
|
|
|
|
|
|
|
|
for base in os.listdir(GetOutputDir()+"/bin"):
|
|
for base in os.listdir(GetOutputDir()+"/bin"):
|
|
|
binname = "dstroot/tools/Developer/Panda3D/bin/" + base
|
|
binname = "dstroot/tools/Developer/Panda3D/bin/" + base
|