• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Environment variable is not read in package postflight script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment variable is not read in package postflight script


  • Subject: Re: Environment variable is not read in package postflight script
  • From: Nathan Duran <email@hidden>
  • Date: Tue, 5 Feb 2008 12:28:34 -0800


On Feb 5, 2008, at 12:16 PM, Jeff Vandehey wrote:

When I take this same script, and set it up as a post-flight script on a package, it does NOT read the $HOST variable. I get the email fine, but I get just a blank space where the $HOST variable should list information. Since the package is run as root, the email comes from System Administrator. The script is below. What do I need to add to it, to make it so I can read this environment variable?

What is it you're expecting $HOST to be set to, and does printenv confirm these expectations? I don't seem to have any such thing defined on my machine. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Environment variable is not read in package postflight script (From: Jeff Vandehey <email@hidden>)

  • Prev by Date: Environment variable is not read in package postflight script
  • Next by Date: Re: Environment variable is not read in package postflight script
  • Previous by thread: Environment variable is not read in package postflight script
  • Next by thread: Re: Environment variable is not read in package postflight script
  • Index(es):
    • Date
    • Thread