[Zope] How to upgrade to 2.3 (no differential install?)
Bill Anderson
bill@libc.org
Tue, 30 Jan 2001 20:51:05 -0700
David K. Trudgett wrote:
> On Mon, Jan 29, 2001 at 10:54:08AM -0500, Brad Clements wrote:
>
>
>> Call me stupid, I can't find the proper command line switch to get tar to
>> ignore the top level directory name Zope-2.3.0-linux2-86
>>
>> Do I have to untar into a junk directory, then cp -r everything to my
>> current dir?
>>
>
> What's wrong with:
>
> $ cp Zope-2.3.0-linux2-x86.tgz /usr/local/; cd /usr/local
> $ tar xzvf Zope-2.3.0-linux2-x86.tgz; mv Zope-2.3.0-linux2-x86 Zope-2.3.0
> $ rm Zope-2.3.0-linux2-x86.tgz
two steps too many ;)
Just tar -xvzf the original file,no need to copy and then delete the copy.
/me ducks