- This topic has 5 replies, 4 voices, and was last updated 16 years, 2 months ago by
kai.
-
AuthorPosts
-
August 28, 2008 at 9:09 pm #373926
knowmad
ParticipantOk, this is weird.
I threw Growl into the build stream, and it appears to install fine. Today i was watching it out of the corner of my eye and when InstaDMG reported it was installing Growl, my system prefs opened. This explains why every time I leave it to build overnight, I find my sys-prefs open the next morning. It does not seem to effect the build process or the install of growl. Its just really odd.
No errors reported, nothing else out of the ordinary…. just weird.Any ideas what is happening? Anyone else see this happen?
I also install safari growler, if that gives any clues.knowmad
August 28, 2008 at 9:30 pm #373927larkost
ParticipantThere is a postflight buried in the growl installer (I just dug it out) whose main purpose is to open the prefpane. You are seeing that in action. This would probably be worth to mention to the growl people that they should try and detect then the installation volume is not the same as the boot volume. This would actually be rather simple:
if [ "$3" == "/" ]; then do your stuff fiI am going to post it to their google group right now.
August 29, 2008 at 12:33 am #373933knowmad
ParticipantThank you.
knowmadAugust 29, 2008 at 4:15 pm #373944jasonpgignac
ParticipantIn the meantime, it probably shouldn’t be too hard to hack out their post-install script?
August 29, 2008 at 4:52 pm #373947knowmad
Participantor, considering it really is harmless, ignoring it.
August 31, 2010 at 11:30 pm #379372kai
ParticipantJust in case anyone is struggling with this still – Growl is now a flat package, so not as straightforward to edit. Here’s how to expand it, edit it and put it all back together again:
Download the Growl package and then in the Terminal:
pkgutil --expand Growl.pkg GrowlNext, edit Growl/growl.pkg/Scripts/postflight and change it to the following (add the first and last lines)
if [ “$3” = “/” ]; then
# Open GHA first so that, hopefully, Growl will already be running when the user lands in the prefpane.
“${PACKAGE_RESOURCES_DIR}/OpenAppWithoutAddingToRecents” “${INSTALL_DESTINATION_DIR}/Growl.prefPane/Contents/Resources/GrowlHelperApp.app”
“${PACKAGE_RESOURCES_DIR}/OpenGrowlPrefPane”
fiFinally, put it all back together again
pkgutil --flatten Growl Growl121.pkg -
AuthorPosts
- You must be logged in to reply to this topic.