Re: Environment variable is not read in package postflight script
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