Explorar o código

Explicit chmod

rdb %!s(int64=16) %!d(string=hai) anos
pai
achega
c97791c734
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -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: