better fix

This commit is contained in:
rdb 2011-06-06 19:39:25 +00:00
parent e733dbc1ee
commit 54544bfdc8

View File

@ -5349,8 +5349,8 @@ def MakeInstallerLinux():
depends += ", nvidia-cg-toolkit"
WriteFile("targetroot/DEBIAN/control", txt.replace("DEPENDS", depends).replace("RECOMMENDS", recommends))
oscmd("rm -rf targetroot/debian")
oscmd("chmod -R 644 targetroot/DEBIAN")
oscmd("chmod 755 targetroot/DEBIAN")
oscmd("chmod -R 755 targetroot/DEBIAN")
oscmd("chmod -R 644 targetroot/control targetroot/md5sums targetroot/conffiles targetroot/symbols")
if (RUNTIME):
oscmd("fakeroot dpkg-deb -b targetroot panda3d-runtime_"+DEBVERSION+"_"+ARCH+".deb")
else: