• 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
Re: postflight script failed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postflight script failed


  • Subject: Re: postflight script failed
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 3 May 2007 19:32:38 -0500

On May 3, 2007, at 5:35 PM, Peter Bierman wrote:

It does work with any UNIX executable.


You didn't specify the full path to ruby in your earlier example.


Does this work?


#!/usr/bin/ruby


And Stéphane Sudre, to the same effect:

You didn't mention whether changing the magic cookie improved the result or not. Did it?

I did try that. It didn't work.

H'm. I see that my Ruby script begins with #!\t/usr/bin/ruby (note the tab character). I'm not at my PackageMaker machine just now, so I can't verify till tomorrow morning whether that makes a difference.

However, bash would tolerate that form of the shebang line (I could run the script from the command line). Maybe the environment Installer.app uses is pickier. 

— F

 _______________________________________________
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

  • Follow-Ups:
    • Re: postflight script failed [SOLVED]
      • From: Fritz Anderson <email@hidden>
References: 
 >postflight script failed (From: Fritz Anderson <email@hidden>)
 >Re: postflight script failed (From: Mike <email@hidden>)
 >Re: postflight script failed (From: Fritz Anderson <email@hidden>)
 >Re: postflight script failed (From: Mike <email@hidden>)
 >Re: postflight script failed (From: Bill Coderre <email@hidden>)
 >Re: postflight script failed (From: Fritz Anderson <email@hidden>)
 >Re: postflight script failed (From: Peter Bierman <email@hidden>)

  • Prev by Date: Re: postflight script failed
  • Next by Date: need help on my first install script
  • Previous by thread: Re: postflight script failed
  • Next by thread: Re: postflight script failed [SOLVED]
  • Index(es):
    • Date
    • Thread