How about nothing involving find or rm at all? Our build system should be able to handle this.
On 9 Mar 2010, at 16:18, Paul Davis wrote: > Maybe a command more like this? > > find /usr/local/lib/ -name "couchdb" | xargs -n 1 rm -rf > > On Tue, Mar 9, 2010 at 11:07 AM, Noah Slater <[email protected]> wrote: >> It looks wrong. If people want to uninstall CouchDB, they should use the >> "uninstall" target with make. Instructions asking them to DELETE everything >> are very irresponsible. Unless the user thinks hard about that that command >> is about to do, they will loose all the data in their databases. >> >> On 9 Mar 2010, at 15:54, Jan Lehnardt wrote: >> >>> Hi Noah, >>> >>> On 9 Mar 2010, at 03:17, Apache Wiki wrote: >>> >>>> - == invalid UTF-8 JSON == >>>> - >>>> - When upgrading from old versions of CouchDB, it is best to really get >>>> rid of everything old. If you get strange errors and all but the simplest >>>> actions appear to be broken, and especially if you are seeing >>>> {"error":"bad_request","reason":"invalid UTF-8 JSON"} type of errors in >>>> Futon, then you should try something like the following: >>>> - >>>> - {{{ >>>> - find /usr/local -name \*couch* | xargs rm -rf >>>> - make && sudo make install >>>> - }}} >>>> - >>>> - This was discussed on 13 Dec 2009 on the users mailing list, and the >>>> resolution is discussed >>>> - >>>> [[http://mail-archives.apache.org/mod_mbox/couchdb-user/200912.mbox/%[email protected]%3e|here]] >>>> and >>>> - >>>> [[http://mail-archives.apache.org/mod_mbox/couchdb-user/200912.mbox/%[email protected]%3e|here]] >>>> - >>>> - >>> >>> what's wrong with this information? I still see people running into the >>> issue. >>> >>> Cheers >>> Jan >>> -- >>> >> >>
