Re: Checking network status as .mpkg requirement
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=csxaM69LzxGsxGNsOpbQ7eQhh1XOH+GP7ZMhlVjfoQU=; b=j5+255nq+QTV1DAqevbfvx9R1tiXfDNQpVD59WKfPfVpmNy54og7YV6MY1IKPnRL1E QZfxpTNACvzox9FZIolnZhiygumId/RmCvbRasfnoFHgDYeYMqQGJ+EdHag29rSp0SL9 4DmZTusAQJoGduGjDfldqmwaMBxG8fmMYasp4= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=r/ENRXT+fVlgQAJjp7luAu3dg171PXkOdVaiez4SFJ2atfymVY9KDkwrnxumYWID0L 9Tk4yWLbG2sq6+WejAQPNM6Mudt4ThlTzWfLGncBLg0/oTGlOD8Hjs32XWuWxIzPGUGa 3V7nq/pgE1Y3+zW0CgfPEyjA3LDya+GG6VVT8= On Fri, Jan 29, 2010 at 10:39 AM, Chris Adamson <invalidname@gmail.com> wrote:
For the individual .mpkgs, PackageMaker will copy external scripts into the bundle, but that doesn't seem to be an option for the "Requirements" of the distribution object, which seems to work only with absolute paths. So I've tried to create the following requirement: require: true: result of script: with the following values in the sheet: if -> result of script file path -> /sbin/ping -c 2 -W 5000 www.subfurther.com
What is `ping -W` supposed to do? On my 10.5.8 system here, that flag isn't in the manpage or the -h text, and it doesn't seem to do anything useful on the command line either. Maybe the ping is always failing because -W forces an error? -- Chris Devers _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Chris Devers