[wp-hackers] Directory Name When Unpacking

Tor Bjornrud bjornrud at msu.edu
Tue Oct 19 17:10:34 UTC 2004


Hey all,

I ran into a recent problem and the short of it is that the latest  
wordpress install unpacks to 'wordpress'.  This is bad if you forget to  
rename your existing 'wordpress' directory something else.

It would safer to unpack to a directory like 'wordpress-1.2.1'  this  
way the default is to unpack to a non-existent directory, avoiding any  
collisions.

The downside is that people have to rename afterwards, which may be an  
extra step for new users or people who want to rename (or symlink)  
their install to 'foo'.  However, for people with existing installs it  
just takes the step of renaming and moves it *after* the unpack.

IMHO, it's better to be safe, and add a trivial step.  Thoughts?

Best,
~Tor

P.S. For the adventurous, the long story's at:  
http://brainscat.com/archives/2004/10/19/tar-ate-my-work-cause-i-told- 
it-to




More information about the hackers mailing list