Newsgroups: news.software.b Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!maytag!xenitec!wynnds.xenitec.on.ca!timk From: timk@wynnds.xenitec.on.ca (Tim Kuehn) Subject: Re: C News relaynews problem with NEWSCTL Organization: TDK Consulting Services Date: Wed, 15 May 1991 20:34:47 GMT Message-ID: <1991May15.203447.1019@wynnds.xenitec.on.ca> References: <1991May11.220712.9660@zoo.toronto.edu> <1991May15.032629.20911@dmp.csiro.au> <1991May15.152535.9711@zoo.toronto.edu> In article <1991May15.152535.9711@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes: >In article <1991May15.032629.20911@dmp.csiro.au> sfy@dmp.csiro.au (Shane Youl) writes: >>> Copy the new config file from the sources/conf directory to NEWSCTL/bin. >>> The build procedure is too bashful about this... >> >>Why can't build make a list of files like this that it hasn't installed? It's >>a real pain to have to install them manually, especially some of the less >>obvious ones. It would also be nice to have a build option which would rename >>files in newsbin to name.OLD, if they already exist... > >The list is not a bad idea; the renaming may be awkward to arrange but I'll >think about it. I'll consider both the next time I get around to revising >the build stuff. Alternatively, build could make a script with the list of files that need to be copied somewhere, and then let the user mod the script according to where they go. (Maybe create a new script file "doit.manual" or something.) Build could write something that looks like this to doit.manual: cp man1 man1 cp config config cp The installer then hand modifies doit.manual according to where these things all go, so the final form would be: cp man1 /usr/man/8/man1 cp config /usr/local/lib/news/bin/config ... etc ... All the user has to do is add the directory paths where the files go. Of course, you'd need a prompt in build to ask if a doit.manual file was required or not to keep from accidentally overwriting an existing entry. ------------------------------------------------------------------------ Tim Kuehn TDK Consulting Services (519)-888-0766 timk@wynnds.xenitec.on.ca -or- !{watmath|lsuc}!xenitec!wynnds!timk Valpo EE turned loose on unsuspecting world! News at 11! "You take it seriously when someone from a ballistics research lab calls you." Heard at a Unix user's meeting discussing connectivity issues.