Tair Assimov wrote:
> Hello!
>
> I am planning to use ViewVC in RPM so I am interested is it possible to
> install it without any prompts and to define installation path on the
> command line?
> If not, can developers tell which tweaks can be done to viewvc-install
> script to accomplish this task? sorry dont know much how to use python :/
The two things that viewvc-install prompts for when it first fires up
(prefix path, destdir) can be specified at the command-line:
./viewvc-install --prefix PREFIX --destdir DESTDIR
But the prompts for what to do about modified files (overwrite, don't
overwrite, view diffs) remain.
It would be pretty easy to add a --non-interactive mode that would move a
conflicting file aside (you know, like turning viewvc.conf into
viewvc.conf.OLD) and then install the new copy of the file. Would this meet
your needs?
--
C. Michael Pilato <cmpilato@xxxxxxxxxx>
CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature
|