Re: Problem with metapackage postinstall task on OS X 10.3.9
Re: Problem with metapackage postinstall task on OS X 10.3.9
- Subject: Re: Problem with metapackage postinstall task on OS X 10.3.9
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 15 Aug 2007 23:47:13 +0200
On mercredi, août 15, 2007, at 07:44 PM, email@hidden wrote:
A bit more information. My installer did run the postinstall for the
metapackage the 2nd time I ran it. That is because my installer also
deletes receipts in the postflight scripts, so the installer never
"upgrades". Unfortunately, I used a bad naming convention for the
packages and my package name matched another that was in my receipts
folder.
So, because one of the packages was an "upgrade", the metapackage
postinstall never ran. I don't really understand that, but there it
is.
What's surprising is that you're seeing the postinstall script of the
two packages being run.
I have a stupid suggestion.
Since you delete the receipts after installation, why do you bother
with 2 scripts for each package (postinstall and postflight)?
Wouldn't it make sense to just have a postflight script?
_______________________________________________
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