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: email@hidden
- Date: Thu, 16 Aug 2007 01:15:41 -0400
Hi Stephane,
Thanks for the advice. Here is my reasoning behind the current structure.
Currently, I use the same postflight script for each package. All it
does is delete the receipt. The postinstall does all of the "heavy
lifting", the real work, which is different for each package. The
postinstall for the metapackage relies on some data that is computed in
the individual package installers, so I need to run it.
FYI, this installer is on a cross platform DVD, and none of the files
that are installed are actually in the packages.
- Rick
Stéphane Sudre wrote:
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
_______________________________________________
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