From 3fa22028acb959b91e43436e64c8dd87c33a3d65 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 11 Jan 2010 11:29:58 +0000 Subject: [PATCH] not perPlatform, prep, and libssl0.9.8 dep --- direct/src/p3d/DeploymentTools.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/direct/src/p3d/DeploymentTools.py b/direct/src/p3d/DeploymentTools.py index 672c4267c2..a76116b56d 100644 --- a/direct/src/p3d/DeploymentTools.py +++ b/direct/src/p3d/DeploymentTools.py @@ -193,7 +193,7 @@ class Installer: if not self.includeRequires: return - host = HostInfo(self.hostUrl, rootDir = rootDir, asMirror = True) + host = HostInfo(self.hostUrl, rootDir = rootDir, asMirror = True, perPlatform = False) if not host.readContentsFile(): if not host.downloadContentsFile(self.http): Installer.notify.error("couldn't read host") @@ -209,7 +209,7 @@ class Installer: continue # Also install the 'images' package from the same host that p3dembed was downloaded from. - host = HostInfo(self.standalone.host.hostUrl, rootDir = rootDir, asMirror = False) + host = HostInfo(self.standalone.host.hostUrl, rootDir = rootDir, asMirror = False, perPlatform = False) if not host.readContentsFile(): if not host.downloadContentsFile(self.http): Installer.notify.error("couldn't read host") @@ -284,10 +284,11 @@ class Installer: print >>controlfile, "Priority: optional" print >>controlfile, "Architecture: %s" % arch print >>controlfile, "Description: %s" % self.fullname - print >>controlfile, "Depends: libc6, libgcc1, libstdc++6, libx11-6" + print >>controlfile, "Depends: libc6, libgcc1, libstdc++6, libx11-6 libssl0.9.8" controlfile.close() postinst = open(Filename(tempdir, "postinst").toOsSpecific(), "w") print >>postinst, "#!/bin/sh" + print >>postinst, "/usr/bin/%s --prep" % self.shortname.lower() print >>postinst, "chmod -R 777 /usr/share/%s" % self.shortname.lower() print >>postinst, "chmod -R 555 /usr/share/%s/hosts" % self.shortname.lower() postinst.close()