• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Installer Shell Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installer Shell Scripts


  • Subject: Installer Shell Scripts
  • From: Michael George <email@hidden>
  • Date: Mon, 13 Oct 2003 11:30:20 -0400

I noticed that when I am installing a Metapackage, *all* the pre* and post* scripts are executed. Even for the packages which were not selected to be installed.

This strikes me as odd, for I would think it logical that if a package within a metapackage is not selected for installation, it's pre* and post* scripts would not be executed. Alas, they are executed anyhow.

There doesn't seem to be any arguments or environment variables which indicate the chosen packages, so it's hard for me to simulate the logical behavior.

I could simulate it in the post* scripts by checking for the existence of installed files, but there is no way to fake it in the pre* scripts...

Is there something I'm missing, or perhaps someone would have an idea how I can get the action I seek?

Thanks!
-Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Some apps refuse to launch in 10.2.8! (OT, but very important)
  • Next by Date: Compiling Cocoa with CodeWarrior
  • Previous by thread: Re: Address Book Helper code released to public domain
  • Next by thread: Compiling Cocoa with CodeWarrior
  • Index(es):
    • Date
    • Thread