On 20/06/12 09:55, Tony Cowderoy wrote:
If you've got a lot of things that you need to substitute in various
files, you might want to look at one of the various macro languages or
templating systems.
It won't be "a lot", but will probably be "more than one".
I'm happy to use tools like sed/awk/etc but I don't really want to install
anything else onto the boxes that I don't need except for the installation.
I've been playing with Hamachi:
https://secure.logmein.com/labs/
.. on my Raspberry Pi and the install script has massive dependencies
(build-essentials amongst other things) just for the install script to run,
where all it uses is the "install" function to copy a file and change its
permissions in one go. I've written my own installer that gets around it and
it's made me very determined not to have to install things that I only need
for the installation process.
Mark
--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro