Scripting Best Practices
Scripting Best Practices
- Subject: Scripting Best Practices
- From: "John Williams" <email@hidden>
- Date: Wed, 10 Oct 2007 13:54:36 -0600
- Thread-topic: Scripting Best Practices
Hi,
I have a couple
questions regarding scripting in Distributions and regular
Packages.
I have a lot of the
same actions in my postinstall and postupgrade scripts. Is there a recommended
way to share a single script file between the two?
For distributions,
does anyone have any tips on easing the editing of the _javascript_s used in the
distributions? Having to click Edit in the PackageMaker interface, then select
TextWrangler (or whatever) from the script editor window and then clicking Edit
again, make changes, close the temp file, go back to packagemaker and then
clicking OK to make any change is getting really tedious. What I'd really like
is a single _javascript_ file that defines all my global functions. I could
then edit all my functions at once in a text editor.
Thanks
John Williams
Typefi Systems Pty Ltd
_______________________________________________
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