Re: Firefox 12.0 packaging
Re: Firefox 12.0 packaging
- Subject: Re: Firefox 12.0 packaging
- From: Fritz Anderson <email@hidden>
- Date: Wed, 23 May 2012 12:25:23 -0500
I'm curious — how do you handle the case in which the user likes her copy of Firefox? For instance, if her copy is a version or two more recent than the one you're installing?
And you're correct that you're not handling the case in which the user has her own Firefox in ~/Applications/ . (Maybe she likes her copy so much that she wants to override the system-wide one.) My rule of thumb in programming is that "meh, probably works" is just another way of saying "doesn't work."
— F On 23 May 2012, at 11:44 AM, Joshua Levitsky wrote: I do the below as a preflight and then my PKG has /Applications/Firefox.app in it. I customize FF with the CCK so my Firefox.app has my config inside it. I don't allow relocation in my PKG and I assume Firefox is in /Applications on the target volume. In my environment that is a valid assumption, but if you don't know where Firefox.app lives then you would allow relocation (checkbox when editing the package in packagemaker) and you would change the rm line below to do a find and delete ones it finds probably.
#!/bin/sh
killall firefox
rm -rf "$3/Applications/Firefox.app"
exit 0
|
_______________________________________________
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