site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nMgPg5jm0WC1F85UO8ffVJWhu1bHr/dUF3SJJC9dUr3no0fkfHiAuMwpUn1lbZ+GNk6FjHQejm1Ym4Kilbr+20u8JOlyBkw9DWvQx+aeFwBIRI+ExCKqvIJleF55E230mizDyJ8w/PdBkGBb9Ayy9zLg9jvg9AG7RmolChka32w= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MBZMCw5VY0fUHru+l1wcN4g4xIpyGyssxI0QuDPSY5jfqsV/MlFY31VNQDEUALyKd9Daf+ntksNtKUmEdMMQp3mN23vLWtgEpfp8qz1e2BD1R9l1aa047Y4q1Ncv1AG1marzaIqTpzchHrKqylEIJcmuagUaRRgU+f9Ih+3GVds= Here is a link to the package https://bigfile.bcm.tmc.edu/outbound/ksteele/package%20project.zip Checked permissions and executable just to be sure Here is a link to the script file, and two certs that need to be installed. https://bigfile.bcm.tmc.edu/outbound/ksteele/Extras.zip On 7/30/07, Stéphane Sudre <ssudre2@wanadoo.fr> wrote:
On lundi, juillet 30, 2007, at 03:39 AM, Kevin Steele wrote:
On 7/29/07, Stéphane Sudre <ssudre2@wanadoo.fr> wrote:
On dimanche, juillet 29, 2007, at 05:38 AM, Kevin Steele wrote:
[...]
As far as I can tell, the script does not run on install even when I setup the package to require admin or root access. I'm not sure what I'm doing wrong, and some suggestions would be nice. Thanks
postinstall scripts are only called on the first install of a package. If you have previously installed this package during your tests, there is a receipt of this package in /Library/Receipts or ~/Library/Receipts.
If you want this script to be run for every install, you need to move to a postflight script.
I changed the Bash script from postinstall to postflight, removed the receipts anyway, and the script still does't run. I also tried naming the script with explicit extension postflight.sh and that didn't seem to work either. Here is the install log.
There should be no extension. Are the permissions correct? (executable flag?)
Maybe you can create a small test case so that someone can have a look at it.
_______________________________________________ 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