From 8b4bdf4291b20562c340f3e4070838b142f85f21 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 12 Jun 2011 12:58:30 +0000 Subject: [PATCH] should fix the runtime build --- makepanda/makepanda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 413d6c24a8..656fcd906e 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -5350,10 +5350,11 @@ def MakeInstallerLinux(): WriteFile("targetroot/DEBIAN/control", txt.replace("DEPENDS", depends).replace("RECOMMENDS", recommends)) oscmd("rm -rf targetroot/debian") oscmd("chmod -R 755 targetroot/DEBIAN") - oscmd("cd targetroot/DEBIAN ; chmod 644 control md5sums conffiles symbols") if (RUNTIME): + oscmd("cd targetroot/DEBIAN ; chmod 644 control md5sums") oscmd("fakeroot dpkg-deb -b targetroot panda3d-runtime_"+DEBVERSION+"_"+ARCH+".deb") else: + oscmd("cd targetroot/DEBIAN ; chmod 644 control md5sums conffiles symbols") oscmd("fakeroot dpkg-deb -b targetroot panda3d"+MAJOR_VERSION+"_"+DEBVERSION+"_"+ARCH+".deb") oscmd("chmod -R 755 targetroot")