Explicit chmod

This commit is contained in:
rdb 2009-11-29 12:31:37 +00:00
parent 66626a1c34
commit c97791c734

View File

@ -4662,8 +4662,8 @@ def MakeInstallerLinux():
WriteFile("linuxroot/DEBIAN/conffiles","/etc/Config.prc\n")
WriteFile("linuxroot/DEBIAN/control",txt)
WriteFile("linuxroot/DEBIAN/postinst","#!/bin/sh\necho running ldconfig\nldconfig\n")
oscmd("chmod 755 linuxroot/DEBIAN/postinst")
oscmd("cp linuxroot/DEBIAN/postinst linuxroot/DEBIAN/postrm")
oscmd("chmod -R 755 linuxroot/DEBIAN")
if (RUNTIME):
oscmd("dpkg-deb -b linuxroot panda3d-runtime_"+VERSION+"_"+ARCH+".deb")
else: