From c97791c734823e5bc5d3fd4075e287b763dc0668 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 29 Nov 2009 12:31:37 +0000 Subject: [PATCH] Explicit chmod --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 65374b5738..b2e0f9d508 100755 --- a/makepanda/makepanda.py +++ b/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: