Re: automated clean up of /usr/lib because of /lib

2003-09-01 Thread Alexander Leidinger
On Sun, 31 Aug 2003 15:02:21 -0700 (PDT) Doug Barton <[EMAIL PROTECTED]> wrote: > There was a discussion of this recently, and the conclusion was more or > less that doing this in an automated fashion is frought with danger, > since you don't know for sure what else besides system components the >

Re: automated clean up of /usr/lib because of /lib

2003-09-01 Thread David O'Brien
On Sun, Aug 31, 2003 at 08:31:49PM +0200, Alexander Leidinger wrote: > shouldn't we add something like > ---snip--- > for i in /lib/lib*.so.*; do > lib=$(basename $i) > [ -f /usr/lib/$lib ] && chflags noschg /usr/lib/$lib && rm /usr/lib/$lib > done > ---snip--- > into UPDATING or append

Re: automated clean up of /usr/lib because of /lib

2003-08-31 Thread Doug Barton
There was a discussion of this recently, and the conclusion was more or less that doing this in an automated fashion is frought with danger, since you don't know for sure what else besides system components the user has put in the various directories. I've been using the following combination of a

automated clean up of /usr/lib because of /lib

2003-08-31 Thread Alexander Leidinger
Hi, shouldn't we add something like ---snip--- for i in /lib/lib*.so.*; do lib=$(basename $i) [ -f /usr/lib/$lib ] && chflags noschg /usr/lib/$lib && rm /usr/lib/$lib done ---snip--- into UPDATING or append it to the end of installworld? Bye, Alexander. -- I belie