Re: iTunes 4.8 installer bug.
Re: iTunes 4.8 installer bug.
- Subject: Re: iTunes 4.8 installer bug.
- From: Peter Bierman <email@hidden>
- Date: Sat, 14 May 2005 17:53:47 -0700
At 1:58 AM -0400 5/14/05, Joe Ridge wrote:
Why can't the iTunes group make an installer that is not broken?
The preinstall and preupgrade scripts both contain a bug that
prevents execution from an
automated environment. They use "su ${USER} -c ...." to execute a
command, but if the installer
is being run through cron or as a startup item the ${USER} variable
is not defined. and the su doesn't execute the command and instead
becomes a shell that will never exit.
Since you're creating the crontab or startup item in this case, why
can't your code/script make sure that $USER is defined?
And in both cases, I don't know why $USER wouldn't be defined already.
'man 5 crontab' suggests that $USER is one of the environment vars set by cron.
-pmb
_______________________________________________
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