I've been working on a PackageMaker installer for one of my perl/cgi
scripts.
So far I have not been able to get a "my_app.post_install" script to run
after installing my scripts.
The PackageMaker Help says "you can have the installer run shell scripts for
you. These scripts can prepare the disk for installation or run command line
tools on the installed files." That last part is a bit fuzzy. Does this mean
that scripts that do anything else will not run?
What I need to do is copy/move some files and start the apache web server. I
found this snippet for the webserver in the start up items folder.
apachectl start
This works great from the terminal but when I made a copy of the "Apache"
script and named the file "my_app.post_upgrade" it doesn't do anything
during the install. Neither do the scripts I wrote to move some files.
I set the permissions for the scripts and the folder they reside in, placed
them in the "Resources" directory with the readme's and welcome's, (which
work fine) and then tried everything else I can think of.
Anyone know what I doing wrong? Does anyone have an example of a script that
works?
Thanks,
--
Bill Stephenson
www.PerlHelp.com
1-417-546-5593