Re: iTunes 4.8 installer bug.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Why can't the iTunes group make an installer that is not broken? 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... At 1:58 AM -0400 5/14/05, Joe Ridge wrote: 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Bierman