Re: Attempting to install a prefPane from a shell scrtipt -- attempting to automa
Re: Attempting to install a prefPane from a shell scrtipt -- attempting to automa
- Subject: Re: Attempting to install a prefPane from a shell scrtipt -- attempting to automa
- From: "Henri S" <email@hidden>
- Date: Wed, 12 Nov 2008 17:17:02 +1300
ditto is a funny command. If I use ditto to copy a bundle (which is
actually a directory) I do it like the example below.
ditto -rsrc /src/foo.prefPane/ /dest/foo.prefPane/
That example you should work as you expect (or depending on how you expect
ditto to behave not as you expected).
If the example above makes no sense then try using the "cp" command,
provided that you are running a recent version of Mac OS X that should
work just fine.
However, with regards the unzipping and zipping. You will be stuck with
using ditto IMHO I am afraid.
Finally, Is there are reason you are not using Apple PackageMaker to build
a pacakge used for deployment. PackageMaker could save you a bit of time.
Plus, you can install a packge from the command line using the "installer"
command. If you have lots of these packages to install then you may find a
tool called installpkg usefull. I wrote installpkg, which is simple
wrapper to the installer command because I got fed up with having to run
the installer command over and over again.
You can download installpkg from the following link :
http://www.lucidsystems.org/tools/installpkg
Hope this helps.
_______________________________________________
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