• 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
Packages with Shell script fails while installing.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Packages with Shell script fails while installing.


  • Subject: Packages with Shell script fails while installing.
  • From: vishnu kulkarni <email@hidden>
  • Date: Tue, 03 Jul 2012 21:40:07 +0530

Hi ,

I have used Packages from Sudre. I'm little bit confused here, I have
built firefox package using the (HW/SW) Checks within the packages.
I'm running into problem when I use *Result of external Script*
Installation fails. The script includes condition to find and kill
Firefox if it's running and next condition is to remove Firefox.app
from Applications folder before installing. However when I include
only one condition ( Either of them, to kill or to remove)  package
works perfectly without any errors. Where Am I going wrong? Kindly
suggest. I have pasted the Script which I have used.
!/bin/sh
#
ps -ef | awk '/Firefox/ && !/awk/ {print $2}'|xargs kill -9
#
/bin/rm -rf /Applications/Firefox.app

exit 0



Thanks,

Vishnu
 _______________________________________________
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: Packages with Shell script fails while installing.
      • From: Stephane Sudre <email@hidden>
    • Re: Packages with Shell script fails while installing.
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: Unable to install flat package inside another flat package
  • Next by Date: Re: Packages with Shell script fails while installing.
  • Previous by thread: Distributed package with multiple packages including preinstall script built into the package contents directly.
  • Next by thread: Re: Packages with Shell script fails while installing.
  • Index(es):
    • Date
    • Thread