Script help
Script help
- Subject: Script help
- From: vishnu kulkarni <email@hidden>
- Date: Tue, 12 Jun 2012 00:06:50 +0530
Hi All,
I'm pretty new to scripting. I have written a script to be included as
preflight script while packaging Firefox App. I have used the below
script to Kill the app before it installs and to remove the app before
installing the App. Can some one please validate the Script if it's
right? Script works fine with the package.
#!/bin/sh
ps -ef | awk '/firefox/ && !/awk/ {print $2}'|xargs kill -9
rm -rf /Applications/firefox.app
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