Keeping your site configs from wiping during updates
From Dreamwidth Notes
Revision as of 04:51, 16 February 2009 by Foxfirefey (Talk | contribs)
If you are working with dw-nonfree code, updates can wipe your site config files. This is a way to get around that.
First, edit $LJHOME/etc/config-local.pl<tt> to your satisfaction. Then edit <tt>$LJHOME/cvs/multicvs-local.conf and add local . under dw-private/site?. Then, make your local directories
cd $LJHOME mkdir cvs/local cvs/local/etc cvs/local/cvs cp cvs/multiconf-local.conf cvs/local/cvs/ cp etc/config-local.pl cvs/local/etc
The downside to this is that you should check the multicvs-local.conf file when you update to make sure it hasn't changed:
diff $LJHOME/cvs/multicvs-local.conf /home/dw/cvs/dw-nonfree/cvs/multicvs-local.conf
You should only see the line you added:
5d4 < local .
If it has more differences, you'll have to merge the new one with the one you are using.