Browse Source

should fix the runtime build

rdb 14 years ago
parent
commit
8b4bdf4291
1 changed files with 2 additions and 1 deletions
  1. 2 1
      makepanda/makepanda.py

+ 2 - 1
makepanda/makepanda.py

@@ -5350,10 +5350,11 @@ def MakeInstallerLinux():
             WriteFile("targetroot/DEBIAN/control", txt.replace("DEPENDS", depends).replace("RECOMMENDS", recommends))
             WriteFile("targetroot/DEBIAN/control", txt.replace("DEPENDS", depends).replace("RECOMMENDS", recommends))
         oscmd("rm -rf targetroot/debian")
         oscmd("rm -rf targetroot/debian")
         oscmd("chmod -R 755 targetroot/DEBIAN")
         oscmd("chmod -R 755 targetroot/DEBIAN")
-        oscmd("cd targetroot/DEBIAN ; chmod 644 control md5sums conffiles symbols")
         if (RUNTIME):
         if (RUNTIME):
+            oscmd("cd targetroot/DEBIAN ; chmod 644 control md5sums")
             oscmd("fakeroot dpkg-deb -b targetroot panda3d-runtime_"+DEBVERSION+"_"+ARCH+".deb")
             oscmd("fakeroot dpkg-deb -b targetroot panda3d-runtime_"+DEBVERSION+"_"+ARCH+".deb")
         else:
         else:
+            oscmd("cd targetroot/DEBIAN ; chmod 644 control md5sums conffiles symbols")
             oscmd("fakeroot dpkg-deb -b targetroot panda3d"+MAJOR_VERSION+"_"+DEBVERSION+"_"+ARCH+".deb")
             oscmd("fakeroot dpkg-deb -b targetroot panda3d"+MAJOR_VERSION+"_"+DEBVERSION+"_"+ARCH+".deb")
         oscmd("chmod -R 755 targetroot")
         oscmd("chmod -R 755 targetroot")