I think Rodrick's idea is best. But if the installation process doesn't let you specify an installation directory, and if it doesn't document where it's putting the binaries and config files, then perhaps right after the install you could use the find command in a manner such as the following:
# find / -xdev -ctime -1 The output should help guide you as to what got installed. --- Rodrick Brown <[EMAIL PROTECTED]> wrote: > On 5/3/07, Mathew Snyder <[EMAIL PROTECTED]> > wrote: > > I have been given a task of installing a piece of > backup software, then tarring > > up all of the associated files in order to > automate the installation onto other > > machines. The only way I can think of doing this > is to do an ls -l on / and > > then doing a diff after the installation and > manually adding those files to a > > tar command. > > > > What I'd rather do is automate this using perl. > gather a list of the files, > > perform the installation, getting a list of the > new files by way of a diff or > > some such and adding all those files to a tar > command or some such. > > > > Has anyone done such a thing or know of a module I > should look at to achieve this? > > > > Mathew > > > > -- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > http://learn.perl.org/ > > > > > > > > Can you specify an installation prefix dir? ie > /usr/local/mysoftware > then you can simply use readdir() to get list of > files in that > directory. > > -- > Rodrick R. Brown > http://www.rodrickbrown.com > > -- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > http://learn.perl.org/ > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/